Spaces:
Runtime error
Runtime error
Commit
·
c9ffbf7
1
Parent(s):
f32c692
Update app.py
Browse files
app.py
CHANGED
|
@@ -132,12 +132,13 @@ ds = np.array(ds)
|
|
| 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 |
|
| 143 |
|
|
|
|
| 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
|
| 140 |
a = scaler.inverse_transform(a.reshape(1,-1))
|
| 141 |
+
a
|
| 142 |
a = scaler.inverse_transform(model.predict(ds).reshape(-1, 1))
|
| 143 |
|
| 144 |
|