oahzxl commited on
Commit
eb4261b
·
1 Parent(s): a28e78a

update duration

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def get_server_status():
50
  return {"cpu": f"{cpu_percent}%", "memory": f"{memory.percent}%", "disk": f"{disk.percent}%", "gpu": gpu_info}
51
 
52
 
53
- @spaces.GPU(duration=400)
54
  def generate_vanilla(model_name, prompt, num_inference_steps, guidance_scale, progress=gr.Progress(track_tqdm=True)):
55
  engine = load_model(model_name)
56
  video_path = generate(engine, prompt, num_inference_steps, guidance_scale)
 
50
  return {"cpu": f"{cpu_percent}%", "memory": f"{memory.percent}%", "disk": f"{disk.percent}%", "gpu": gpu_info}
51
 
52
 
53
+ @spaces.GPU(duration=480)
54
  def generate_vanilla(model_name, prompt, num_inference_steps, guidance_scale, progress=gr.Progress(track_tqdm=True)):
55
  engine = load_model(model_name)
56
  video_path = generate(engine, prompt, num_inference_steps, guidance_scale)