wangjin2000 commited on
Commit
18227f6
·
verified ·
1 Parent(s): f7a164f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -296,6 +296,7 @@ with demo:
296
  file_count="single",
297
  file_types=[".tsv", ".csv"],
298
  type="filepath",
 
299
  )
300
  gr.Markdown(
301
  "## Predict peptide sequence:"
@@ -324,11 +325,6 @@ with demo:
324
  interactive=True,
325
  variant="primary",
326
  )
327
- predict_file_btn = gr.Button(
328
- value="Predict peptide from a local file",
329
- interactive=True,
330
- variant="primary",
331
- )
332
  plot_struc_btn = gr.Button(value = "Plot ESMFold Predicted Structure ", variant="primary")
333
  with gr.Row():
334
  with gr.Column(variant="compact", scale = 5):
@@ -344,6 +340,11 @@ with demo:
344
  interactive=True,
345
  variant="primary",
346
  )
 
 
 
 
 
347
  with gr.Row():
348
  output_viewer = gr.HTML()
349
  output_file = gr.File(
 
296
  file_count="single",
297
  file_types=[".tsv", ".csv"],
298
  type="filepath",
299
+ height=20,
300
  )
301
  gr.Markdown(
302
  "## Predict peptide sequence:"
 
325
  interactive=True,
326
  variant="primary",
327
  )
 
 
 
 
 
328
  plot_struc_btn = gr.Button(value = "Plot ESMFold Predicted Structure ", variant="primary")
329
  with gr.Row():
330
  with gr.Column(variant="compact", scale = 5):
 
340
  interactive=True,
341
  variant="primary",
342
  )
343
+ predict_file_btn = gr.Button(
344
+ value="Predict peptide from a local file",
345
+ interactive=True,
346
+ variant="primary",
347
+ )
348
  with gr.Row():
349
  output_viewer = gr.HTML()
350
  output_file = gr.File(