Update app.py
Browse files
app.py
CHANGED
|
@@ -337,7 +337,7 @@ def create_gpu_rollout_loop(command_queue, seed_path, prompt_text, seed):
|
|
| 337 |
Only picklable primitives + the multiprocessing `command_queue` cross the
|
| 338 |
fork boundary. Live controls (held key set) and stop arrive via that queue.
|
| 339 |
"""
|
| 340 |
-
@spaces.GPU(duration=GPU_DURATION)
|
| 341 |
def gpu_rollout():
|
| 342 |
device = torch.device("cuda")
|
| 343 |
prompt = (prompt_text or DEFAULT_PROMPT).strip() or DEFAULT_PROMPT
|
|
|
|
| 337 |
Only picklable primitives + the multiprocessing `command_queue` cross the
|
| 338 |
fork boundary. Live controls (held key set) and stop arrive via that queue.
|
| 339 |
"""
|
| 340 |
+
@spaces.GPU(duration=GPU_DURATION, size="xlarge")
|
| 341 |
def gpu_rollout():
|
| 342 |
device = torch.device("cuda")
|
| 343 |
prompt = (prompt_text or DEFAULT_PROMPT).strip() or DEFAULT_PROMPT
|