Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -340,7 +340,7 @@ def fit_outputs_constraints(X, antimicrobial_activity_target, request: gr.Reques
|
|
340 |
error = np.sqrt(np.square(predictions[0]-reduction_target_df))
|
341 |
return error
|
342 |
|
343 |
-
def predict_inverse(antimicrobial_activity_target, request: gr.Request):
|
344 |
|
345 |
### Define space and constrains
|
346 |
|
|
|
340 |
error = np.sqrt(np.square(predictions[0]-reduction_target_df))
|
341 |
return error
|
342 |
|
343 |
+
def predict_inverse(antimicrobial_activity_target, substrate, microorganism, num_washing_cycles, request: gr.Request):
|
344 |
|
345 |
### Define space and constrains
|
346 |
|