Dropdown
Browse files
app.py
CHANGED
|
@@ -80,7 +80,7 @@ with gr.Blocks(title="Camptocamp MCP Server") as demo:
|
|
| 80 |
loc = gr.Textbox(label="Location (e.g. Chamonix, La Grave)")
|
| 81 |
start = gr.Textbox(label="Start Date (YYYY-MM-DD)")
|
| 82 |
end = gr.Textbox(label="End Date (YYYY-MM-DD)")
|
| 83 |
-
act = gr.Dropdown(label="Activity", choices=ACTIVITIES,
|
| 84 |
limit = gr.Number(label="Result Limit", value=5)
|
| 85 |
out = gr.JSON()
|
| 86 |
gr.Button("Get Outings").click(get_recent_outings_by_location,
|
|
|
|
| 80 |
loc = gr.Textbox(label="Location (e.g. Chamonix, La Grave)")
|
| 81 |
start = gr.Textbox(label="Start Date (YYYY-MM-DD)")
|
| 82 |
end = gr.Textbox(label="End Date (YYYY-MM-DD)")
|
| 83 |
+
act = gr.Dropdown(label="Activity", choices=ACTIVITIES, value="alpine_climbing")
|
| 84 |
limit = gr.Number(label="Result Limit", value=5)
|
| 85 |
out = gr.JSON()
|
| 86 |
gr.Button("Get Outings").click(get_recent_outings_by_location,
|