oucgc1996 commited on
Commit
ed8660a
1 Parent(s): 1868bef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -261,6 +261,8 @@ def ACE(file):
261
  return 'output.csv', out_text, out_prob
262
 
263
  iface = gr.Interface(fn=ACE,
264
- inputs="text",
265
- outputs= ["file","text","text"])
266
- iface.launch()
 
 
 
261
  return 'output.csv', out_text, out_prob
262
 
263
  iface = gr.Interface(fn=ACE,
264
+ title="🚀DeepACE: ACE classification model",
265
+ inputs=gr.Textbox(show_label=False, placeholder="Enter peptide or protein", lines=4),
266
+ outputs= ["file",gr.Textbox(show_label=False, placeholder="class", lines=1),gr.Textbox(show_label=False, placeholder="probability", lines=1)],
267
+ description=description)
268
+ iface.launch()