Spaces:
Sleeping
Sleeping
Update app.py
Browse filesmade show_label=False
app.py
CHANGED
|
@@ -16,5 +16,5 @@ def OCR(image):
|
|
| 16 |
|
| 17 |
return generated_text
|
| 18 |
|
| 19 |
-
demo = gr.Interface(fn=OCR, inputs=gr.Image(
|
| 20 |
demo.launch(debug=True)
|
|
|
|
| 16 |
|
| 17 |
return generated_text
|
| 18 |
|
| 19 |
+
demo = gr.Interface(fn=OCR, inputs=gr.Image(show_label=False, type="pil"),outputs=gr.Textbox())
|
| 20 |
demo.launch(debug=True)
|