multimodalart HF Staff commited on
Commit
9563308
·
verified ·
1 Parent(s): ab92f92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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