Spaces:
Running
Running
Antoni Bigata
commited on
Commit
·
ed769ff
1
Parent(s):
aa87ffe
requirements
Browse files
app.py
CHANGED
@@ -167,9 +167,24 @@ def load_all_models():
|
|
167 |
)
|
168 |
keyframe_model.en_and_decode_n_samples_a_time = 2
|
169 |
interpolation_model.en_and_decode_n_samples_a_time = 2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
|
171 |
|
172 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
|
174 |
|
175 |
@spaces.GPU(duration=60)
|
|
|
167 |
)
|
168 |
keyframe_model.en_and_decode_n_samples_a_time = 2
|
169 |
interpolation_model.en_and_decode_n_samples_a_time = 2
|
170 |
+
return (
|
171 |
+
keyframe_model,
|
172 |
+
interpolation_model,
|
173 |
+
vae_model,
|
174 |
+
hubert_model,
|
175 |
+
wavlm_model,
|
176 |
+
landmarks_extractor,
|
177 |
+
)
|
178 |
|
179 |
|
180 |
+
(
|
181 |
+
keyframe_model,
|
182 |
+
interpolation_model,
|
183 |
+
vae_model,
|
184 |
+
hubert_model,
|
185 |
+
wavlm_model,
|
186 |
+
landmarks_extractor,
|
187 |
+
) = load_all_models()
|
188 |
|
189 |
|
190 |
@spaces.GPU(duration=60)
|