Spaces:
Running on Zero
Running on Zero
duration 960 second
Browse files- 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=
|
| 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.
|