Spaces:
Running on Zero
Running on Zero
fix session_hash querying
Browse files- utils/pipelines.py +1 -1
utils/pipelines.py
CHANGED
|
@@ -51,7 +51,7 @@ def unconditional_generation(num_batches, num_designs_per_batch, length):
|
|
| 51 |
diffusion_batch_size=num_designs_per_batch, # Generate 2 structures per batch
|
| 52 |
)
|
| 53 |
|
| 54 |
-
session_hash = gr.Request.session_hash
|
| 55 |
time_stamp = time.strftime("%Y-%m-%d-%H-%M-%S")
|
| 56 |
directory = f"./outputs/session_{session_hash}_{time_stamp}"
|
| 57 |
os.makedirs(directory, exist_ok=False)
|
|
|
|
| 51 |
diffusion_batch_size=num_designs_per_batch, # Generate 2 structures per batch
|
| 52 |
)
|
| 53 |
|
| 54 |
+
session_hash = gr.Request().session_hash
|
| 55 |
time_stamp = time.strftime("%Y-%m-%d-%H-%M-%S")
|
| 56 |
directory = f"./outputs/session_{session_hash}_{time_stamp}"
|
| 57 |
os.makedirs(directory, exist_ok=False)
|