Victorlopo21 commited on
Commit
99bde0d
·
1 Parent(s): 6693841

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -130,12 +130,13 @@ ds = np.array(ds)
130
 
131
 
132
 
133
- #predictions = model.predict(ds)
134
- #predictions
135
- #p = predictions[0][0]
 
136
  #print(p)
137
- #a = np.array([0,0,0,p,0,0,0,0])
138
- #a = scaler.inverse_transform(a.reshape(1,-1))
139
 
140
  a = scaler.inverse_transform(model.predict(ds).reshape(-1, 1))
141
 
 
130
 
131
 
132
 
133
+ predictions = model.predict(ds)
134
+ predictions
135
+ p = predictions[0][0]
136
+ p
137
  #print(p)
138
+ a = np.array([0,0,0,p,0,0,0,0])
139
+ a = scaler.inverse_transform(a.reshape(1,-1))
140
 
141
  a = scaler.inverse_transform(model.predict(ds).reshape(-1, 1))
142