Pattr commited on
Commit
49b4712
·
verified ·
1 Parent(s): 716373d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -43,7 +43,7 @@ def get_advice(province,activity,purpose,year,month,date):
43
 
44
 
45
  iface = gr.Interface(
46
- fn = get_weather_forecast,
47
  inputs = [
48
 
49
  gr.Dropdown(
@@ -72,7 +72,10 @@ iface = gr.Interface(
72
 
73
  ],
74
 
75
- outputs=gr.outputs.Textbox(label="Prediction"),
 
 
 
76
  live=True,
77
  title="Weather Forecast",
78
  description="Get the weather forecast for a city.",
 
43
 
44
 
45
  iface = gr.Interface(
46
+ fn = get_advice,
47
  inputs = [
48
 
49
  gr.Dropdown(
 
72
 
73
  ],
74
 
75
+ outputs=[gr.outputs.Textbox(label="Place Name"),
76
+ gr.outputs.Image(label="Place Image"),
77
+ gr.outputs.Textbox(label="Text Line 1"),
78
+ gr.outputs.Textbox(label="Text Line 2")],
79
  live=True,
80
  title="Weather Forecast",
81
  description="Get the weather forecast for a city.",