Spaces:
Running
Running
sab
commited on
Commit
•
ace3238
1
Parent(s):
549018e
config file
Browse files
app.py
CHANGED
@@ -37,9 +37,9 @@ def generate_video(prompt, num_frames=84, fps=30):
|
|
37 |
interface = gr.Interface(
|
38 |
fn=generate_video,
|
39 |
inputs=[
|
40 |
-
gr.
|
41 |
-
gr.
|
42 |
-
gr.
|
43 |
],
|
44 |
outputs=gr.outputs.Video(),
|
45 |
title=cfg.TITLE,
|
|
|
37 |
interface = gr.Interface(
|
38 |
fn=generate_video,
|
39 |
inputs=[
|
40 |
+
gr.Textbox(lines=2, placeholder="Enter your text prompt here... 💡"),
|
41 |
+
gr.Slider(minimum=1, maximum=240, value=84, label="Number of frames 🎞️"),
|
42 |
+
gr.Slider(minimum=1, maximum=60, value=30, label="FPS (Frames per second) ⏱️")
|
43 |
],
|
44 |
outputs=gr.outputs.Video(),
|
45 |
title=cfg.TITLE,
|