Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -93,7 +93,8 @@ def predict(sequence):
|
|
| 93 |
return f"{probabilities[0] * 100:.2f}% chance of being an Antimicrobial Peptide (AMP)"
|
| 94 |
else:
|
| 95 |
return f"{probabilities[1] * 100:.2f}% chance of being Non-AMP"
|
| 96 |
-
|
|
|
|
| 97 |
# Gradio interface
|
| 98 |
iface = gr.Interface(
|
| 99 |
fn=predict,
|
|
|
|
| 93 |
return f"{probabilities[0] * 100:.2f}% chance of being an Antimicrobial Peptide (AMP)"
|
| 94 |
else:
|
| 95 |
return f"{probabilities[1] * 100:.2f}% chance of being Non-AMP"
|
| 96 |
+
def predictmic(sequence):
|
| 97 |
+
features = 0
|
| 98 |
# Gradio interface
|
| 99 |
iface = gr.Interface(
|
| 100 |
fn=predict,
|