minemaster01 commited on
Commit
0cb35bb
·
verified ·
1 Parent(s): 993cb91

Update app.py

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