ClementGERARD commited on
Commit
44909f5
·
verified ·
1 Parent(s): ecd9737

Update app/main.py

Browse files
Files changed (1) hide show
  1. app/main.py +2 -0
app/main.py CHANGED
@@ -116,6 +116,8 @@ async def predict(file: UploadFile = File(...)):
116
  V_exp = np.array([v for v, _ in exp_points])
117
  I_exp = np.array([i for _, i in exp_points])
118
 
 
 
119
  try:
120
  error_random = get_parameter_error_bounds(I_exp, V_exp, Rs=params_random["Rs"], Rsh=params_random["Rsh"], n=params_random["n"], J0=params_random["J0"], Jph=params_random["Jph"])
121
  except Exception as e:
 
116
  V_exp = np.array([v for v, _ in exp_points])
117
  I_exp = np.array([i for _, i in exp_points])
118
 
119
+ print(V_exp, I_exp, params_random["Rs"], params_random["Rsh"],params_random["n"],params_random["J0"],params_random["Jph"])
120
+
121
  try:
122
  error_random = get_parameter_error_bounds(I_exp, V_exp, Rs=params_random["Rs"], Rsh=params_random["Rsh"], n=params_random["n"], J0=params_random["J0"], Jph=params_random["Jph"])
123
  except Exception as e: