Spaces:
Running
Running
Added Dropdown country
Browse files
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.
|
|
|
|
|
|
|
|
|
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=[
|