Spaces:
Running
Running
BilalHasan
commited on
Commit
•
32ccb54
1
Parent(s):
24f811d
Update app.py
Browse files
app.py
CHANGED
@@ -128,8 +128,8 @@ def predict(input_path):
|
|
128 |
|
129 |
gradio_app = gr.Interface(
|
130 |
predict,
|
131 |
-
inputs=gr.Image(sources=['upload', 'webcam'], type='filepath'),
|
132 |
-
outputs=[gr.Image(), gr.Textbox()],
|
133 |
title="Extract Handwritten Text",
|
134 |
)
|
135 |
|
|
|
128 |
|
129 |
gradio_app = gr.Interface(
|
130 |
predict,
|
131 |
+
inputs=gr.Image(label='Input image', sources=['upload', 'webcam'], type='filepath'),
|
132 |
+
outputs=[gr.Image(label='Generated image'), gr.Textbox(label='Generated text')],
|
133 |
title="Extract Handwritten Text",
|
134 |
)
|
135 |
|