BilalHasan commited on
Commit
32ccb54
1 Parent(s): 24f811d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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