gabboud commited on
Commit
a0b0276
·
1 Parent(s): c495186

duration 960 second

Browse files
Files changed (1) hide show
  1. utils/pipelines.py +1 -1
utils/pipelines.py CHANGED
@@ -101,7 +101,7 @@ def unconditional_generation(num_batches, num_designs_per_batch, length):
101
  except Exception as e:
102
  raise RuntimeError(f"Error during generation: {str(e)}")
103
 
104
- @spaces.GPU(duration=3600)
105
  def generation_with_input_config(input_file, pdb_file, num_batches, num_designs_per_batch, extra_args):
106
  """
107
  Runs an unconditional generation with the specified input config file. Saves the generated structures to a timestamped directory in the outputs folder and returns the path to the directory along with a list of the generated structures' file paths.
 
101
  except Exception as e:
102
  raise RuntimeError(f"Error during generation: {str(e)}")
103
 
104
+ @spaces.GPU(duration=960)
105
  def generation_with_input_config(input_file, pdb_file, num_batches, num_designs_per_batch, extra_args):
106
  """
107
  Runs an unconditional generation with the specified input config file. Saves the generated structures to a timestamped directory in the outputs folder and returns the path to the directory along with a list of the generated structures' file paths.