Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,8 @@ def image_to_text(input_image):
|
|
16 |
with gr.Blocks() as demo:
|
17 |
gr.Markdown("Start typing below and then click **Run** to see the output.")
|
18 |
with gr.Row():
|
19 |
-
inp = gr.Image(
|
20 |
out = gr.Textbox(placeholder=image_to_text(inp))
|
21 |
-
gr.Interface(fn=image_to_text, inputs=inp, outputs=
|
22 |
|
23 |
demo.launch()
|
|
|
16 |
with gr.Blocks() as demo:
|
17 |
gr.Markdown("Start typing below and then click **Run** to see the output.")
|
18 |
with gr.Row():
|
19 |
+
inp = gr.Image()
|
20 |
out = gr.Textbox(placeholder=image_to_text(inp))
|
21 |
+
gr.Interface(fn=image_to_text, inputs=inp, outputs=out,interpretation="default")
|
22 |
|
23 |
demo.launch()
|