Spaces:
Running
Running
Update app.py
Browse files
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 (µ
|
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."
|