Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -89,10 +89,10 @@ def get_route_and_medical_centers(source_location, destination_location, medical
|
|
89 |
return "\n".join(route_info), m._repr_html_()
|
90 |
|
91 |
# Gradio UI components (Updated for Gradio v3.x)
|
92 |
-
source_location_input = gr.Textbox(
|
93 |
-
destination_location_input = gr.Textbox(
|
94 |
-
medical_center_query_input = gr.Textbox(
|
95 |
-
location_input = gr.Textbox(
|
96 |
|
97 |
# Output components (Updated for Gradio v3.x)
|
98 |
route_info_output = gr.Textbox(label="Driving Directions")
|
|
|
89 |
return "\n".join(route_info), m._repr_html_()
|
90 |
|
91 |
# Gradio UI components (Updated for Gradio v3.x)
|
92 |
+
source_location_input = gr.Textbox(value="Honolulu, HI", label="Source Location")
|
93 |
+
destination_location_input = gr.Textbox(value="Maui, HI", label="Destination Location")
|
94 |
+
medical_center_query_input = gr.Textbox(value="Hawaii Medical Center", label="Medical Center Query")
|
95 |
+
location_input = gr.Textbox(value="Honolulu, HI", label="Your Location")
|
96 |
|
97 |
# Output components (Updated for Gradio v3.x)
|
98 |
route_info_output = gr.Textbox(label="Driving Directions")
|