bndl commited on
Commit
99fcf72
·
1 Parent(s): 42eef2e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -99,6 +99,7 @@ def predict(x, request: gr.Request):
99
  def fit_outputs_constraints(x, hardness_target, ys_target, request: gr.Request):
100
  print("*********")
101
  print(len(x))
 
102
  predictions = predict(x, request)
103
  error_hardness = np.sqrt(np.square(predictions[0]-float(hardness_target)))
104
  error_ys = np.sqrt(np.square(predictions[2]-float(ys_target)))
 
99
  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)))