Spaces:
Runtime error
Runtime error
Campfireman
commited on
Commit
•
dec008f
1
Parent(s):
b6b5151
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,11 @@ def greet(total_pred_days):
|
|
77 |
return str1
|
78 |
|
79 |
|
80 |
-
demo = gr.Interface(
|
|
|
|
|
|
|
|
|
81 |
|
82 |
|
83 |
|
|
|
77 |
return str1
|
78 |
|
79 |
|
80 |
+
demo = gr.Interface(
|
81 |
+
fn=greet,
|
82 |
+
inputs=gr.Slider(label="Days of prediction (start from tomorrow)", value=1, minimum=1, maximum=20, step=1)
|
83 |
+
outputs=gr.outputs.Textbox(label="Prediction results"),
|
84 |
+
)
|
85 |
|
86 |
|
87 |
|