wangjin2000 commited on
Commit
d1f6cab
·
verified ·
1 Parent(s): 8074cb1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -227,10 +227,10 @@ def suggest(option):
227
  suggestion = ""
228
  return suggestion
229
 
230
- demo = gr.Blocks(title="ESM2 for Protein-Protein Interaction (ESM2PPI)")
231
 
232
  with demo:
233
- gr.Markdown("# ESM2 for Protein-Protein Interaction (ESM2PPI)")
234
  #gr.Textbox(dubug_result)
235
 
236
  with gr.Column():
@@ -284,7 +284,7 @@ with demo:
284
  label="Local File Upload",
285
  file_count="single",
286
  file_types=[".tsv", ".csv"],
287
- type="file",
288
  )
289
  with gr.Column(variant="compact", scale = 2):
290
  predict_btn = gr.Button(
 
227
  suggestion = ""
228
  return suggestion
229
 
230
+ demo = gr.Blocks(title="ESM2 for Micropertide Protein Interaction (ESM2MPI)")
231
 
232
  with demo:
233
+ gr.Markdown("# ESM2 for Micropertide Protein Interaction (ESM2MPI)")
234
  #gr.Textbox(dubug_result)
235
 
236
  with gr.Column():
 
284
  label="Local File Upload",
285
  file_count="single",
286
  file_types=[".tsv", ".csv"],
287
+ type="filepath",
288
  )
289
  with gr.Column(variant="compact", scale = 2):
290
  predict_btn = gr.Button(