jiawenchim commited on
Commit
bae98f9
1 Parent(s): adfed2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
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
- # outputs_app = gr.Number()
99
 
100
  # Building the Gradio Interface
101
  weather_predictor_app = gr.Interface(fn=predict_energy,
102
- inputs=inputs_app,
103
- "number")
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],