Spaces:
Sleeping
Sleeping
sotirios-slv
commited on
Commit
•
a266e5a
1
Parent(s):
e4a1a88
Updated requiremetns and print statement
Browse files- app.py +1 -1
- requirements.txt +2 -1
app.py
CHANGED
@@ -70,7 +70,7 @@ with gr.Blocks() as demo:
|
|
70 |
lang = gr.Dropdown(choices, value="eng")
|
71 |
btn = gr.Button("Run")
|
72 |
# print("image_in", image_in.name)
|
73 |
-
|
74 |
with gr.Column():
|
75 |
ocr_text = gr.TextArea(label="OCR output")
|
76 |
with gr.Column():
|
|
|
70 |
lang = gr.Dropdown(choices, value="eng")
|
71 |
btn = gr.Button("Run")
|
72 |
# print("image_in", image_in.name)
|
73 |
+
print("image_in type", type(image_in))
|
74 |
with gr.Column():
|
75 |
ocr_text = gr.TextArea(label="OCR output")
|
76 |
with gr.Column():
|
requirements.txt
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
flair
|
2 |
gradio
|
3 |
-
pytesseract
|
|
|
|
1 |
flair
|
2 |
gradio
|
3 |
+
pytesseract
|
4 |
+
openpyxl
|