Spaces:
Running
Running
OmPrakashSingh1704
commited on
Commit
·
e098fac
1
Parent(s):
c8ca6fe
- options/Banner_Model/__pycache__/Image2Image.cpython-310.pyc +0 -0
- options/Banner_Model/__pycache__/Image2Image_2.cpython-310.pyc +0 -0
- options/Banner_Model/__pycache__/Text2Banner.cpython-310.pyc +0 -0
- options/Banner_Model/__pycache__/__init__.cpython-310.pyc +0 -0
- options/Video_model/Model.py +3 -2
- options/Video_model/__pycache__/Model.cpython-310.pyc +0 -0
- options/Video_model/__pycache__/__init__.cpython-310.pyc +0 -0
- options/__pycache__/Banner.cpython-310.pyc +0 -0
- options/__pycache__/Video.cpython-310.pyc +0 -0
options/Banner_Model/__pycache__/Image2Image.cpython-310.pyc
CHANGED
Binary files a/options/Banner_Model/__pycache__/Image2Image.cpython-310.pyc and b/options/Banner_Model/__pycache__/Image2Image.cpython-310.pyc differ
|
|
options/Banner_Model/__pycache__/Image2Image_2.cpython-310.pyc
CHANGED
Binary files a/options/Banner_Model/__pycache__/Image2Image_2.cpython-310.pyc and b/options/Banner_Model/__pycache__/Image2Image_2.cpython-310.pyc differ
|
|
options/Banner_Model/__pycache__/Text2Banner.cpython-310.pyc
CHANGED
Binary files a/options/Banner_Model/__pycache__/Text2Banner.cpython-310.pyc and b/options/Banner_Model/__pycache__/Text2Banner.cpython-310.pyc differ
|
|
options/Banner_Model/__pycache__/__init__.cpython-310.pyc
CHANGED
Binary files a/options/Banner_Model/__pycache__/__init__.cpython-310.pyc and b/options/Banner_Model/__pycache__/__init__.cpython-310.pyc differ
|
|
options/Video_model/Model.py
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
-
import torch
|
2 |
from diffusers import StableVideoDiffusionPipeline
|
3 |
from diffusers.utils import load_image, export_to_video
|
4 |
from PIL import Image
|
5 |
-
|
|
|
6 |
# Check if CUDA (GPU) is available, otherwise use CPU
|
7 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
8 |
|
|
|
1 |
+
import torch,os
|
2 |
from diffusers import StableVideoDiffusionPipeline
|
3 |
from diffusers.utils import load_image, export_to_video
|
4 |
from PIL import Image
|
5 |
+
from huggingface_hub import login
|
6 |
+
login(token=os.getenv("TOKEN"))
|
7 |
# Check if CUDA (GPU) is available, otherwise use CPU
|
8 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
9 |
|
options/Video_model/__pycache__/Model.cpython-310.pyc
CHANGED
Binary files a/options/Video_model/__pycache__/Model.cpython-310.pyc and b/options/Video_model/__pycache__/Model.cpython-310.pyc differ
|
|
options/Video_model/__pycache__/__init__.cpython-310.pyc
CHANGED
Binary files a/options/Video_model/__pycache__/__init__.cpython-310.pyc and b/options/Video_model/__pycache__/__init__.cpython-310.pyc differ
|
|
options/__pycache__/Banner.cpython-310.pyc
CHANGED
Binary files a/options/__pycache__/Banner.cpython-310.pyc and b/options/__pycache__/Banner.cpython-310.pyc differ
|
|
options/__pycache__/Video.cpython-310.pyc
CHANGED
Binary files a/options/__pycache__/Video.cpython-310.pyc and b/options/__pycache__/Video.cpython-310.pyc differ
|
|