sfaezella commited on
Commit
38f0127
·
verified ·
1 Parent(s): 49d0d9a

Update app file

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -58,9 +58,9 @@ def classify(sequence):
58
  return "Potential Allergen" if pred.item() == 1 else "Non-Allergen"
59
 
60
 
61
- demo = gr.Interface(fn=classify,
62
- inputs=gr.Textbox(lines=3, placeholder="Enter protein sequence..."),
63
- outputs=gr.Label(label="Prediction"))
64
 
65
  # if __name__ == "__main__":
66
  # demo.launch()
 
58
  return "Potential Allergen" if pred.item() == 1 else "Non-Allergen"
59
 
60
 
61
+ # demo = gr.Interface(fn=classify,
62
+ # inputs=gr.Textbox(lines=3, placeholder="Enter protein sequence..."),
63
+ # outputs=gr.Label(label="Prediction"))
64
 
65
  # if __name__ == "__main__":
66
  # demo.launch()