simonduerr commited on
Commit
328b006
1 Parent(s): ed32392

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -496,6 +496,8 @@ def update(
496
 
497
  folder_for_outputs = out_folder
498
 
 
 
499
  NUM_BATCHES = num_seq_per_target // batch_size
500
  BATCH_COPIES = batch_size
501
  temperatures = [sampling_temp]
@@ -626,7 +628,7 @@ def update(
626
  chain_encoding_all,
627
  residue_idx,
628
  mask=mask,
629
- temperature=temp,
630
  omit_AAs_np=omit_AAs_np,
631
  bias_AAs_np=bias_AAs_np,
632
  chain_M_pos=chain_M_pos,
 
496
 
497
  folder_for_outputs = out_folder
498
 
499
+ sampling_temp = float(sampling_temp)
500
+
501
  NUM_BATCHES = num_seq_per_target // batch_size
502
  BATCH_COPIES = batch_size
503
  temperatures = [sampling_temp]
 
628
  chain_encoding_all,
629
  residue_idx,
630
  mask=mask,
631
+ temperature=float(temp),
632
  omit_AAs_np=omit_AAs_np,
633
  bias_AAs_np=bias_AAs_np,
634
  chain_M_pos=chain_M_pos,