Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -204,7 +204,6 @@ def step4_track(session_id):
|
|
204 |
|
205 |
# Lazy init + caching of FLAME model on GPU
|
206 |
if "flame_model" not in _model_cache:
|
207 |
-
global _model_cache
|
208 |
|
209 |
flame = FLAME(tracking_conf) # CPU instantiation
|
210 |
flame = flame.to(DEVICE) # CUDA init happens here
|
|
|
204 |
|
205 |
# Lazy init + caching of FLAME model on GPU
|
206 |
if "flame_model" not in _model_cache:
|
|
|
207 |
|
208 |
flame = FLAME(tracking_conf) # CPU instantiation
|
209 |
flame = flame.to(DEVICE) # CUDA init happens here
|