colbyford commited on
Commit
c26a162
·
1 Parent(s): b6b61f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -82,7 +82,7 @@ def make_uncond_seq(seq_len, model_type, pred_structure):
82
 
83
  return generated_sequence, molhtml
84
  else:
85
- return generated_sequence
86
 
87
  def make_cond_seq(seq_len, msa_file, model_type, pred_structure):
88
  if model_type == "EvoDiff-MSA":
@@ -96,7 +96,7 @@ def make_cond_seq(seq_len, msa_file, model_type, pred_structure):
96
 
97
  return generated_sequence, molhtml
98
  else:
99
- return generated_sequence
100
 
101
  usg_app = gr.Interface(
102
  fn=make_uncond_seq,
 
82
 
83
  return generated_sequence, molhtml
84
  else:
85
+ return generated_sequence, None
86
 
87
  def make_cond_seq(seq_len, msa_file, model_type, pred_structure):
88
  if model_type == "EvoDiff-MSA":
 
96
 
97
  return generated_sequence, molhtml
98
  else:
99
+ return generated_sequence, None
100
 
101
  usg_app = gr.Interface(
102
  fn=make_uncond_seq,