colbyford commited on
Commit
c8a328f
·
verified ·
1 Parent(s): a4aab3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,6 @@ theme = gr.themes.Monochrome(
22
  )
23
 
24
  ## Function to get model from Hugging Face using token
25
- @spaces.GPU()
26
  def get_model(model_name, token):
27
  login(token=token)
28
 
@@ -185,6 +184,7 @@ def ss_edit(model_name, token, pdb_id, chain_id, region_start, region_end, short
185
  ]
186
 
187
  ## Function for SASA Editing
 
188
  def sasa_edit(model_name, token, pdb_id, chain_id, span_start, span_end, n_samples):
189
  pdb = get_pdb(pdb_id, chain_id)
190
 
 
22
  )
23
 
24
  ## Function to get model from Hugging Face using token
 
25
  def get_model(model_name, token):
26
  login(token=token)
27
 
 
184
  ]
185
 
186
  ## Function for SASA Editing
187
+ @spaces.GPU()
188
  def sasa_edit(model_name, token, pdb_id, chain_id, span_start, span_end, n_samples):
189
  pdb = get_pdb(pdb_id, chain_id)
190