Spaces:
Running
on
Zero
Running
on
Zero
update duration
Browse files
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=
|
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)
|