Update app.py
Browse files
app.py
CHANGED
|
@@ -43,7 +43,7 @@ def get_advice(province,activity,purpose,year,month,date):
|
|
| 43 |
|
| 44 |
|
| 45 |
iface = gr.Interface(
|
| 46 |
-
fn =
|
| 47 |
inputs = [
|
| 48 |
|
| 49 |
gr.Dropdown(
|
|
@@ -72,7 +72,10 @@ iface = gr.Interface(
|
|
| 72 |
|
| 73 |
],
|
| 74 |
|
| 75 |
-
outputs=gr.outputs.Textbox(label="
|
|
|
|
|
|
|
|
|
|
| 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.",
|