Spaces:
Running
Running
Update app.py
Browse files
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="
|
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")
|