wangjin2000 commited on
Commit
9a7cf39
·
verified ·
1 Parent(s): eab9952

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -4
app.py CHANGED
@@ -378,10 +378,10 @@ with demo:
378
 
379
  #gr.Markdown("## Finetune Pre-trained Model")
380
  with gr.Column():
381
- gr.Markdown("## Select a base model")
382
- gr.Markdown(
383
  """ Pick a base model and press **Finetune Pre-trained Model!"""
384
- )
385
  with gr.Row():
386
  with gr.Column(scale=5, variant="compact"):
387
  base_model_name = gr.Dropdown(
@@ -415,6 +415,14 @@ with demo:
415
  placeholder="Paste your protein sequence here...",
416
  interactive = True,
417
  )
 
 
 
 
 
 
 
 
418
  with gr.Column(variant="compact", scale = 2):
419
  predict_btn = gr.Button(
420
  value="Predict binding site",
@@ -437,7 +445,9 @@ with demo:
437
  variant="primary",
438
  )
439
  with gr.Row():
440
- output_viewer = gr.HTML()
 
 
441
  output_file = gr.File(
442
  label="Download as Text File",
443
  file_count="single",
 
378
 
379
  #gr.Markdown("## Finetune Pre-trained Model")
380
  with gr.Column():
381
+ gr.Markdown("## Select a base model and a coresponding PEFT finetune model")
382
+ #gr.Markdown(
383
  """ Pick a base model and press **Finetune Pre-trained Model!"""
384
+ #)
385
  with gr.Row():
386
  with gr.Column(scale=5, variant="compact"):
387
  base_model_name = gr.Dropdown(
 
415
  placeholder="Paste your protein sequence here...",
416
  interactive = True,
417
  )
418
+ text_pos = gr.Textbox(
419
+ lines=1,
420
+ max_lines=12,
421
+ label="Sequency Position:",
422
+ placeholder=
423
+ "012345678911234567892123456789312345678941234567895123456789612345678971234567898123456789912345678901234567891123456789",
424
+ interactive=False,
425
+ )
426
  with gr.Column(variant="compact", scale = 2):
427
  predict_btn = gr.Button(
428
  value="Predict binding site",
 
445
  variant="primary",
446
  )
447
  with gr.Row():
448
+ output_viewer = gr.HTML("""
449
+ <div style='height: 800px; width: 100px; background-color: black;'></div>
450
+ """)
451
  output_file = gr.File(
452
  label="Download as Text File",
453
  file_count="single",