Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -100,6 +100,7 @@ def fit_outputs_constraints(x, hardness_target, ys_target, request: gr.Request):
|
|
| 100 |
print("*********")
|
| 101 |
print(len(x))
|
| 102 |
print(x)
|
|
|
|
| 103 |
predictions = predict(x, request)
|
| 104 |
error_hardness = np.sqrt(np.square(predictions[0]-float(hardness_target)))
|
| 105 |
error_ys = np.sqrt(np.square(predictions[2]-float(ys_target)))
|
|
|
|
| 100 |
print("*********")
|
| 101 |
print(len(x))
|
| 102 |
print(x)
|
| 103 |
+
print(len(x[0]))
|
| 104 |
predictions = predict(x, request)
|
| 105 |
error_hardness = np.sqrt(np.square(predictions[0]-float(hardness_target)))
|
| 106 |
error_ys = np.sqrt(np.square(predictions[2]-float(ys_target)))
|