1024m commited on
Commit
72a4a4d
·
verified ·
1 Parent(s): f93e74c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -192,8 +192,8 @@ with gr.Blocks(theme='1024m/1024m-1') as gradio_app:
192
  countries = ["India", "Pakistan", "Bangladesh", "Afghanistan", "Bhutan", "Nepal", "Sri Lanka", "OTHER"]
193
  country_dropdown = gr.Dropdown(choices=countries, label="Country where the image was taken:", interactive=True, value=countries[-1])
194
  country_warning = gr.Markdown(visible=False)
195
- other_country = gr.Textbox(label="Other Country:", info="If not listed above", visible=False)
196
- state_dropdown = gr.Dropdown(choices=[], label="State/Province (Optional but preferred):", interactive=False, visible=False)
197
  other_state_textbox = gr.Textbox(label="Other State/Province:", info="If country is 'OTHER'", visible=False)
198
  city_textbox = gr.Textbox(label="City (Optional but preferred):", placeholder="Enter city name")
199
  city_warning = gr.Markdown(visible=False)
 
192
  countries = ["India", "Pakistan", "Bangladesh", "Afghanistan", "Bhutan", "Nepal", "Sri Lanka", "OTHER"]
193
  country_dropdown = gr.Dropdown(choices=countries, label="Country where the image was taken:", interactive=True, value=countries[-1])
194
  country_warning = gr.Markdown(visible=False)
195
+ other_country = gr.Textbox(label="Other Country:", info="If not listed above", visible=True)
196
+ state_dropdown = gr.Dropdown(choices=[], label="State/Province (Optional but preferred):", interactive=False, visible=True)
197
  other_state_textbox = gr.Textbox(label="Other State/Province:", info="If country is 'OTHER'", visible=False)
198
  city_textbox = gr.Textbox(label="City (Optional but preferred):", placeholder="Enter city name")
199
  city_warning = gr.Markdown(visible=False)