DreamStream-1 commited on
Commit
27bf8af
·
verified ·
1 Parent(s): 28bdba9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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(default="Honolulu, HI", label="Source Location")
93
- destination_location_input = gr.Textbox(default="Maui, HI", label="Destination Location")
94
- medical_center_query_input = gr.Textbox(default="Hawaii Medical Center", label="Medical Center Query")
95
- location_input = gr.Textbox(default="Honolulu, HI", label="Your Location")
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")