fix: pyav not installed
Browse files- app.py +1 -0
- requirements.txt +0 -0
app.py
CHANGED
@@ -5,6 +5,7 @@ import torchvision
|
|
5 |
def generate(prompt: str):
|
6 |
video = torch.rand(240, 512, 512, 3)
|
7 |
torchvision.io.write_video(video, "video.mp4", fps=24)
|
|
|
8 |
|
9 |
gr.Interface(
|
10 |
fn=generate,
|
|
|
5 |
def generate(prompt: str):
|
6 |
video = torch.rand(240, 512, 512, 3)
|
7 |
torchvision.io.write_video(video, "video.mp4", fps=24)
|
8 |
+
return "video.mp4"
|
9 |
|
10 |
gr.Interface(
|
11 |
fn=generate,
|
requirements.txt
CHANGED
Binary files a/requirements.txt and b/requirements.txt differ
|
|