minemaster01 commited on
Commit
2a88122
·
verified ·
1 Parent(s): 1cf3975

Added Dropdown country

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -110,7 +110,11 @@ gradio_app = gr.Interface(
110
  gr.Image(label="Upload an image", sources=['upload', 'webcam'], type="pil"),
111
  gr.Textbox(label="The image portrays culturally-relevant information in:", placeholder="what culture does this image represent?"),
112
 
113
- gr.Textbox(label="City where the image was taken:", placeholder="Enter city name"),
 
 
 
 
114
  gr.Textbox(label="Country where the image was taken:", placeholder="Enter country name"),
115
  gr.Radio(
116
  choices=[
 
110
  gr.Image(label="Upload an image", sources=['upload', 'webcam'], type="pil"),
111
  gr.Textbox(label="The image portrays culturally-relevant information in:", placeholder="what culture does this image represent?"),
112
 
113
+ gr.Dropdown(
114
+ choices=["India", "Pakistan", "Bangladesh", "Afghanistan", "Bhutan", "Nepal", "Sri Lanka"],
115
+ label="Country where the image was taken:",
116
+ interactive=True
117
+ ),
118
  gr.Textbox(label="Country where the image was taken:", placeholder="Enter country name"),
119
  gr.Radio(
120
  choices=[