Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,6 @@ def genie (image, prompt, negative_prompt):
|
|
9 |
image = 'image'
|
10 |
video = pipe(image=image, prompt=prompt, negative_prompt=negative_prompt, width=704, height=480, num_frames=161, num_inference_steps=50, ).frames[0]
|
11 |
export_to_video(video, "output.mp4", fps=24)
|
12 |
-
return video
|
13 |
|
14 |
gr.Interface(fn=genie, inputs=['image', gr.Textbox(), gr.Textbox()], outputs='video').launch(debug=True)
|
|
|
9 |
image = 'image'
|
10 |
video = pipe(image=image, prompt=prompt, negative_prompt=negative_prompt, width=704, height=480, num_frames=161, num_inference_steps=50, ).frames[0]
|
11 |
export_to_video(video, "output.mp4", fps=24)
|
12 |
+
return video
|
13 |
|
14 |
gr.Interface(fn=genie, inputs=['image', gr.Textbox(), gr.Textbox()], outputs='video').launch(debug=True)
|