snajmark commited on
Commit
4800d23
·
1 Parent(s): e0fb5c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -422,7 +422,7 @@ def predict_inverse(antimicrobial_activity_target, substrate, microorganism, num
422
 
423
  optimal_concentration = optimized_x['Concetration (µg/mL)'].iloc[0] if optimized_x['Concetration (µg/mL)'].iloc[0] > 0 else 11.2
424
 
425
- return (optimized_x['Binder'].iloc[0], optimized_x['NMs_Type'].iloc[0], round(optimized_x['Primary_Size (nm)'].iloc[0], 2),
426
  optimized_x['NM-Shape'].iloc[0], optimized_x['Concetration (µg/mL)'].iloc[0],
427
  optimized_x['NPs_Synthesis_method'].iloc[0], optimized_x['Application method\n'].iloc[0],
428
  optimized_x['Washing_Detergent'].iloc[0], optimized_x['Washing_Temp'].iloc[0])
 
422
 
423
  optimal_concentration = optimized_x['Concetration (µg/mL)'].iloc[0] if optimized_x['Concetration (µg/mL)'].iloc[0] > 0 else 11.2
424
 
425
+ return (optimized_x['Binder'].iloc[0], optimized_x['NMs_Type'].iloc[0], optimized_x['Primary_Size (nm)'].iloc[0],
426
  optimized_x['NM-Shape'].iloc[0], optimized_x['Concetration (µg/mL)'].iloc[0],
427
  optimized_x['NPs_Synthesis_method'].iloc[0], optimized_x['Application method\n'].iloc[0],
428
  optimized_x['Washing_Detergent'].iloc[0], optimized_x['Washing_Temp'].iloc[0])