nonzeroexit commited on
Commit
25d4105
·
verified ·
1 Parent(s): d136e58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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,