jie1 commited on
Commit
1b924a6
1 Parent(s): 0e3c074

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -8
app.py CHANGED
@@ -79,18 +79,20 @@ with gr.Blocks(css=".gradio-container {background-image: url('file=background.jp
79
  with gr.Row():
80
  pdb_path = gr.File(label="pdb_path")
81
  jsonl_path = gr.File(label="jsonl_path")
 
82
  chain_id_jsonl = gr.File(label="chain_id_jsonl")
83
  fixed_positions_jsonl = gr.File(label="fixed_positions_jsonl")
84
- omit_AAs = gr.Textbox(label="omit_AAs", value="X", visible=False)
 
85
  bias_AA_jsonl = gr.File(label="bias_AA_jsonl")
86
- bias_by_res_jsonl = gr.Textbox(label="bias_by_res_jsonl", value="", visible=False)
87
- omit_AA_jsonl = gr.Textbox(label="omit_AA_jsonl", value="", visible=False)
88
- pssm_jsonl = gr.Textbox(label="pssm_jsonl", value="", visible=False)
89
- pssm_multi = gr.Number(label="pssm_multi", value=0.0, visible=False)
90
- pssm_threshold = gr.Number(label="pssm_threshold", value=0.0, visible=False)
91
- pssm_log_odds_flag = gr.Number(label="pssm_log_odds_flag", value=int(0), visible=False)
92
- pssm_bias_flag = gr.Number(label="pssm_bias_flag", value=int(0), visible=False)
93
  tied_positions_jsonl = gr.File(label="tied_positions_jsonl")
 
 
 
 
 
 
 
94
  pmroutput = gr.Files()
95
  pmr_button = gr.Button("protein_mpnn_run")
96
  pmr_button.click(p_m_r,
 
79
  with gr.Row():
80
  pdb_path = gr.File(label="pdb_path")
81
  jsonl_path = gr.File(label="jsonl_path")
82
+ with gr.Row():
83
  chain_id_jsonl = gr.File(label="chain_id_jsonl")
84
  fixed_positions_jsonl = gr.File(label="fixed_positions_jsonl")
85
+ omit_AAs = gr.Textbox(label="omit_AAs", value="X", visible=False)
86
+ with gr.Row():
87
  bias_AA_jsonl = gr.File(label="bias_AA_jsonl")
 
 
 
 
 
 
 
88
  tied_positions_jsonl = gr.File(label="tied_positions_jsonl")
89
+ bias_by_res_jsonl = gr.Textbox(label="bias_by_res_jsonl", value="", visible=False)
90
+ omit_AA_jsonl = gr.Textbox(label="omit_AA_jsonl", value="", visible=False)
91
+ pssm_jsonl = gr.Textbox(label="pssm_jsonl", value="", visible=False)
92
+ pssm_multi = gr.Number(label="pssm_multi", value=0.0, visible=False)
93
+ pssm_threshold = gr.Number(label="pssm_threshold", value=0.0, visible=False)
94
+ pssm_log_odds_flag = gr.Number(label="pssm_log_odds_flag", value=int(0), visible=False)
95
+ pssm_bias_flag = gr.Number(label="pssm_bias_flag", value=int(0), visible=False)
96
  pmroutput = gr.Files()
97
  pmr_button = gr.Button("protein_mpnn_run")
98
  pmr_button.click(p_m_r,