Spaces:
Runtime error
Runtime error
Superintelligence1130
commited on
Commit
•
baa3eed
1
Parent(s):
4414c7d
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,11 @@ pipe.enable_model_cpu_offload()
|
|
10 |
def text_video(prompt):
|
11 |
video_frames = pipe(prompt, num_inference_steps=25).frames
|
12 |
video_path = export_to_video(video_frames)
|
13 |
-
|
14 |
result = gr.Video(label="Generated Video")
|
15 |
-
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
|
10 |
def text_video(prompt):
|
11 |
video_frames = pipe(prompt, num_inference_steps=25).frames
|
12 |
video_path = export_to_video(video_frames)
|
13 |
+
|
14 |
result = gr.Video(label="Generated Video")
|
15 |
+
gr.Interface(
|
16 |
+
fn=text_video,
|
17 |
+
inputs=gr.Textbox(label="어떤 비디오를 생성할까요? : "),
|
18 |
+
outputs=result
|
19 |
+
|
20 |
+
).launch()
|