Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -114,7 +114,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="blue")) as app:
|
|
| 114 |
|
| 115 |
with gr.Row():
|
| 116 |
with gr.Column():
|
| 117 |
-
top_city = gr.Dropdown(choices=gulf_cities, label="Top Gulf Cities", value=None)
|
| 118 |
custom_city = gr.Textbox(label="Or enter a city not listed")
|
| 119 |
with gr.Column():
|
| 120 |
query = gr.Textbox(label="Ask a Weather Question (GPT)", placeholder="e.g., Is it hot in Muscat?")
|
|
|
|
| 114 |
|
| 115 |
with gr.Row():
|
| 116 |
with gr.Column():
|
| 117 |
+
top_city = gr.Dropdown(choices=gulf_cities, label="Top Gulf Cities", value=None,allow_custom_value=True )
|
| 118 |
custom_city = gr.Textbox(label="Or enter a city not listed")
|
| 119 |
with gr.Column():
|
| 120 |
query = gr.Textbox(label="Ask a Weather Question (GPT)", placeholder="e.g., Is it hot in Muscat?")
|