Spaces:
Runtime error
Runtime error
Suchinthana
commited on
Commit
Β·
2783581
1
Parent(s):
50a615f
logs
Browse files
app.py
CHANGED
@@ -283,8 +283,11 @@ query_options = [
|
|
283 |
with gr.Blocks() as demo:
|
284 |
with gr.Row():
|
285 |
selected_query = gr.Dropdown(label="Select Query", choices=query_options, value=query_options[-1])
|
|
|
286 |
query_input = gr.Textbox(label="Enter Query", value=query_options[-1])
|
|
|
287 |
selected_query.change(update_query, inputs=selected_query, outputs=query_input)
|
|
|
288 |
submit_btn = gr.Button("Submit")
|
289 |
with gr.Row():
|
290 |
map_output = gr.Image(label="Map Visualization")
|
|
|
283 |
with gr.Blocks() as demo:
|
284 |
with gr.Row():
|
285 |
selected_query = gr.Dropdown(label="Select Query", choices=query_options, value=query_options[-1])
|
286 |
+
print("Selected query")
|
287 |
query_input = gr.Textbox(label="Enter Query", value=query_options[-1])
|
288 |
+
print("Query input")
|
289 |
selected_query.change(update_query, inputs=selected_query, outputs=query_input)
|
290 |
+
print("Selected query changed")
|
291 |
submit_btn = gr.Button("Submit")
|
292 |
with gr.Row():
|
293 |
map_output = gr.Image(label="Map Visualization")
|