minemaster01 commited on
Commit
a5ab23e
·
verified ·
1 Parent(s): aad5c66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ with gr.Blocks(theme='1024m/1024m-1') as gradio_app:
65
  with gr.Column(scale=1):
66
  input_img = gr.Image(label="Upload an image", sources=['upload', 'webcam'], type="pil")
67
  language = gr.Dropdown(choices=south_asian_languages, label="Language:", info="Select the native language relevant to the image", interactive=True,value=south_asian_languages[-1])
68
- other_language = gr.Textbox(label="Other Language:",placeholder="optional",info="Name of the language if not listed above")
69
  country_dropdown = gr.Dropdown(choices=["None","India", "Pakistan", "Bangladesh", "Afghanistan", "Bhutan", "Nepal", "Sri Lanka"], label="Country where the image was taken:", interactive=True)
70
  state_dropdown = gr.Dropdown(choices=[], label="State/Province:", interactive=True)
71
  city_textbox = gr.Textbox(label="City where the image was taken:", placeholder="Enter city name")
 
65
  with gr.Column(scale=1):
66
  input_img = gr.Image(label="Upload an image", sources=['upload', 'webcam'], type="pil")
67
  language = gr.Dropdown(choices=south_asian_languages, label="Language:", info="Select the native language relevant to the image", interactive=True,value=south_asian_languages[-1])
68
+ other_language = gr.Textbox(label="Other Language:",placeholder="Optional",info="Name of the language if not listed above")
69
  country_dropdown = gr.Dropdown(choices=["None","India", "Pakistan", "Bangladesh", "Afghanistan", "Bhutan", "Nepal", "Sri Lanka"], label="Country where the image was taken:", interactive=True)
70
  state_dropdown = gr.Dropdown(choices=[], label="State/Province:", interactive=True)
71
  city_textbox = gr.Textbox(label="City where the image was taken:", placeholder="Enter city name")