Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -41,12 +41,13 @@ def tune_video_predict(
|
|
41 |
video = pipe(prompt, video_length=video_length, height=height, width=width, num_inference_steps=num_inference_steps, guidance_scale=guidance_scale).videos
|
42 |
output_path = save_videos_grid(video, save_path='output', path=f"{prompt}.gif")
|
43 |
return output_path
|
|
|
44 |
|
45 |
|
46 |
demo_inputs = [
|
47 |
gr.components.Dropdown(
|
48 |
label="Model",
|
49 |
-
choices=model_list,
|
50 |
value="Tune-A-Video-library/a-man-is-surfing",
|
51 |
),
|
52 |
gr.inputs.Textbox(
|
|
|
41 |
video = pipe(prompt, video_length=video_length, height=height, width=width, num_inference_steps=num_inference_steps, guidance_scale=guidance_scale).videos
|
42 |
output_path = save_videos_grid(video, save_path='output', path=f"{prompt}.gif")
|
43 |
return output_path
|
44 |
+
|
45 |
|
46 |
|
47 |
demo_inputs = [
|
48 |
gr.components.Dropdown(
|
49 |
label="Model",
|
50 |
+
choices=model_list.append("Tune-A-Video-library/a-man-is-surfing"),
|
51 |
value="Tune-A-Video-library/a-man-is-surfing",
|
52 |
),
|
53 |
gr.inputs.Textbox(
|