sagawa commited on
Commit
a0cb774
1 Parent(s): 490a4c0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -8
app.py CHANGED
@@ -44,14 +44,15 @@ def predict_stability(model_choice, organism_choice, pdb_file=None, sequence=Non
44
  else:
45
  cell_line = "NIH3T3"
46
  # If sequence is provided directly
47
- if sequence:
48
- cfg.model = f"sagawa/PLTNUM-{model_choice}-{cell_line}"
49
- cfg.architecture = model_choice
50
- cfg.model_path = f"sagawa/PLTNUM-{model_choice}-{cell_line}"
51
- output = predict(cfg, sequence)
52
- return f"Predicted Stability using {model_choice} for {organism_choice}: Example Output with sequence {output}..."
53
- else:
54
- return "No valid input provided."
 
55
 
56
 
57
  def get_foldseek_seq(pdb_path):
 
44
  else:
45
  cell_line = "NIH3T3"
46
  # If sequence is provided directly
47
+ return str(sequences)
48
+ # if sequence:
49
+ # cfg.model = f"sagawa/PLTNUM-{model_choice}-{cell_line}"
50
+ # cfg.architecture = model_choice
51
+ # cfg.model_path = f"sagawa/PLTNUM-{model_choice}-{cell_line}"
52
+ # output = predict(cfg, sequence)
53
+ # return f"Predicted Stability using {model_choice} for {organism_choice}: Example Output with sequence {output}..."
54
+ # else:
55
+ # return "No valid input provided."
56
 
57
 
58
  def get_foldseek_seq(pdb_path):