Commit
•
bae98f9
1
Parent(s):
adfed2d
Update app.py
Browse files
app.py
CHANGED
@@ -95,13 +95,12 @@ inputs_app = [gr.Slider(0,12, step=1, label='Month', value=11),
|
|
95 |
]
|
96 |
|
97 |
#Interface Output
|
98 |
-
|
99 |
|
100 |
# Building the Gradio Interface
|
101 |
weather_predictor_app = gr.Interface(fn=predict_energy,
|
102 |
-
inputs=inputs_app,
|
103 |
-
|
104 |
-
# outputs=outputs_app,
|
105 |
# allow_flagging="manual",
|
106 |
# live=True,
|
107 |
# examples = [["Decision Trees", 7,4,2,5,3,2,100,95,76,1010,1008,1004,10,9,4,13,6,0,6,229,1997,1],
|
|
|
95 |
]
|
96 |
|
97 |
#Interface Output
|
98 |
+
outputs_app = ["number"]
|
99 |
|
100 |
# Building the Gradio Interface
|
101 |
weather_predictor_app = gr.Interface(fn=predict_energy,
|
102 |
+
inputs=inputs_app,
|
103 |
+
outputs=outputs_app)
|
|
|
104 |
# allow_flagging="manual",
|
105 |
# live=True,
|
106 |
# examples = [["Decision Trees", 7,4,2,5,3,2,100,95,76,1010,1008,1004,10,9,4,13,6,0,6,229,1997,1],
|