nonzeroexit commited on
Commit
ce9bf06
·
verified ·
1 Parent(s): 244cfc0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -138,7 +138,7 @@ def predictmic(sequence):
138
  "K.Pneumonia": {
139
  "model": "pne_mlp_model.pkl",
140
  "scaler": "pne_scaler.pkl",
141
- "pca": "pne_pca"
142
  }
143
  }
144
 
@@ -184,7 +184,7 @@ iface = gr.Interface(
184
  outputs=[
185
  gr.Label(label="AMP Classification"),
186
  gr.Label(label="Confidence"),
187
- gr.JSON(label="Predicted MIC (µg/mL) for Each Bacterium")
188
  ],
189
  title="AMP & MIC Predictor",
190
  description="Enter an amino acid sequence (≥10 valid letters) to predict AMP class and MIC values."
 
138
  "K.Pneumonia": {
139
  "model": "pne_mlp_model.pkl",
140
  "scaler": "pne_scaler.pkl",
141
+ "pca": "pne_pca.pkl"
142
  }
143
  }
144
 
 
184
  outputs=[
185
  gr.Label(label="AMP Classification"),
186
  gr.Label(label="Confidence"),
187
+ gr.JSON(label="Predicted MIC (µM) for Each Bacterium")
188
  ],
189
  title="AMP & MIC Predictor",
190
  description="Enter an amino acid sequence (≥10 valid letters) to predict AMP class and MIC values."