Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ from PIL import Image
|
|
| 14 |
from huggingface_hub import snapshot_download
|
| 15 |
from firebase_admin import credentials
|
| 16 |
from firebase_admin import firestore
|
| 17 |
-
|
| 18 |
|
| 19 |
# firestore singleton is a cached multiuser instance to persist shared crowdsource memory
|
| 20 |
@st.experimental_singleton
|
|
@@ -81,6 +81,8 @@ image_gen = gr.Interface.load("spaces/multimodalart/latentdiffusion")
|
|
| 81 |
# video generator
|
| 82 |
os.system("git clone https://github.com/google-research/frame-interpolation")
|
| 83 |
sys.path.append("frame-interpolation")
|
|
|
|
|
|
|
| 84 |
ffmpeg_path = util.get_ffmpeg_path()
|
| 85 |
mediapy.set_ffmpeg(ffmpeg_path)
|
| 86 |
model = snapshot_download(repo_id="akhaliq/frame-interpolation-film-style")
|
|
|
|
| 14 |
from huggingface_hub import snapshot_download
|
| 15 |
from firebase_admin import credentials
|
| 16 |
from firebase_admin import firestore
|
| 17 |
+
|
| 18 |
|
| 19 |
# firestore singleton is a cached multiuser instance to persist shared crowdsource memory
|
| 20 |
@st.experimental_singleton
|
|
|
|
| 81 |
# video generator
|
| 82 |
os.system("git clone https://github.com/google-research/frame-interpolation")
|
| 83 |
sys.path.append("frame-interpolation")
|
| 84 |
+
from eval import interpolator, util
|
| 85 |
+
|
| 86 |
ffmpeg_path = util.get_ffmpeg_path()
|
| 87 |
mediapy.set_ffmpeg(ffmpeg_path)
|
| 88 |
model = snapshot_download(repo_id="akhaliq/frame-interpolation-film-style")
|