From ac83fef342c9c4b5f02064cabea0753bea175f08 Mon Sep 17 00:00:00 2001 From: Frank Lee Date: Sun, 16 Jun 2024 21:22:17 +0800 Subject: [PATCH] [gradio] update config values (#142) --- gradio/app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gradio/app.py b/gradio/app.py index 460bf0d..55d40e6 100644 --- a/gradio/app.py +++ b/gradio/app.py @@ -367,7 +367,7 @@ def run_inference(mode, prompt_text, resolution, aspect_ratio, length, motion_st current_datetime = datetime.datetime.now() timestamp = current_datetime.timestamp() save_path = os.path.join(args.output, f"output_{timestamp}") - saved_path = save_sample(video, save_path=save_path, fps=fps) + saved_path = save_sample(video, save_path=save_path, fps=24) torch.cuda.empty_cache() # add watermark @@ -553,9 +553,9 @@ def main(): with gr.Row(): with gr.Column(): motion_strength = gr.Slider( - value=100, + value=5, minimum=0, - maximum=500, + maximum=100, step=1, label="Motion Strength", info="only effective for video generation"