RufusRubin777 commited on
Commit
a54ad4b
·
verified ·
1 Parent(s): cadd139

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -97,11 +97,11 @@ with gr.Blocks() as scan_master_web_app:
97
  with gr.Column():
98
  image_input = gr.Image(type="filepath", label="Upload your image")
99
 
100
- lang_dropdown = gr.Dropdown(
101
- choices=["English", "Hindi", "English + Hindi"],
102
- label="Choose language",
103
- value="English"
104
- )
105
  submit_button = gr.Button("Submit")
106
 
107
  with gr.Column():
@@ -116,7 +116,7 @@ with gr.Blocks() as scan_master_web_app:
116
 
117
  submit_button.click(
118
  run_GOT,
119
- inputs=[image_input, lang_dropdown],
120
  outputs=[ocr_result]
121
  )
122
 
 
97
  with gr.Column():
98
  image_input = gr.Image(type="filepath", label="Upload your image")
99
 
100
+ # lang_dropdown = gr.Dropdown(
101
+ # choices=["English", "Hindi", "English + Hindi"],
102
+ # label="Choose language",
103
+ # value="English"
104
+ # )
105
  submit_button = gr.Button("Submit")
106
 
107
  with gr.Column():
 
116
 
117
  submit_button.click(
118
  run_GOT,
119
+ inputs=[image_input],
120
  outputs=[ocr_result]
121
  )
122