jibsn commited on
Commit
81a1bc7
·
verified ·
1 Parent(s): 3ed585f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -28,8 +28,8 @@ import torch.nn.functional as F
28
 
29
  import tempfile
30
 
31
- if "/home/user/app/af_backprop" not in sys.path:
32
- sys.path.append("/home/user/app/af_backprop")
33
 
34
  # local only
35
  if "/home/duerr/phd/08_Code/ProteinMPNN/af_backprop" not in sys.path:
@@ -1463,9 +1463,9 @@ with proteinMPNN:
1463
  plotAF_plddt = gr.Plot(label="pLDDT")
1464
  # remove maxh80 class from css
1465
  plotAF_pae = gr.Gallery(label="PAE plots") # gr.Plot(label="PAE")
1466
- tempFile = gr.Variable()
1467
- selectedResidues = gr.Variable()
1468
- seq_dict = gr.Variable()
1469
  btn.click(
1470
  fn=update,
1471
  inputs=[
 
28
 
29
  import tempfile
30
 
31
+ if "/app/af_backprop" not in sys.path:
32
+ sys.path.append("/app/af_backprop")
33
 
34
  # local only
35
  if "/home/duerr/phd/08_Code/ProteinMPNN/af_backprop" not in sys.path:
 
1463
  plotAF_plddt = gr.Plot(label="pLDDT")
1464
  # remove maxh80 class from css
1465
  plotAF_pae = gr.Gallery(label="PAE plots") # gr.Plot(label="PAE")
1466
+ tempFile = gr.State()
1467
+ selectedResidues = gr.State()
1468
+ seq_dict = gr.State()
1469
  btn.click(
1470
  fn=update,
1471
  inputs=[