Spaces:
Running
Running
Update app.py
Browse files
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=
|
| 196 |
-
state_dropdown = gr.Dropdown(choices=[], label="State/Province (Optional but preferred):", interactive=False, visible=
|
| 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)
|