Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,6 @@ import torch
|
|
3 |
from transformers import pipeline
|
4 |
from PIL import Image
|
5 |
import numpy as np
|
6 |
-
import cv2
|
7 |
import tempfile
|
8 |
import os
|
9 |
from diffusers import VideoToVideoSDPipeline
|
@@ -76,7 +75,7 @@ def generate_video_from_image(image, duration_seconds=10, progress_bar=None):
|
|
76 |
def main():
|
77 |
st.set_page_config(page_title="AI Video Generator", page_icon="π₯")
|
78 |
|
79 |
-
st.title("π₯ Video Generator")
|
80 |
st.write("""
|
81 |
Upload an image to generate a video with AI-powered motion and transitions.
|
82 |
The app will automatically generate a caption for your image and use it as inspiration for the video.
|
|
|
3 |
from transformers import pipeline
|
4 |
from PIL import Image
|
5 |
import numpy as np
|
|
|
6 |
import tempfile
|
7 |
import os
|
8 |
from diffusers import VideoToVideoSDPipeline
|
|
|
75 |
def main():
|
76 |
st.set_page_config(page_title="AI Video Generator", page_icon="π₯")
|
77 |
|
78 |
+
st.title("π₯ AI Video Generator")
|
79 |
st.write("""
|
80 |
Upload an image to generate a video with AI-powered motion and transitions.
|
81 |
The app will automatically generate a caption for your image and use it as inspiration for the video.
|