Spaces:
Running
on
Zero
Running
on
Zero
Clean up
Browse files
app.py
CHANGED
|
@@ -173,6 +173,7 @@ def init_video_session(
|
|
| 173 |
GLOBAL_STATE.inference_session = processor.init_video_session(
|
| 174 |
video=frames,
|
| 175 |
inference_device=DEVICE,
|
|
|
|
| 176 |
processing_device="cpu",
|
| 177 |
video_storage_device="cpu",
|
| 178 |
dtype=DTYPE,
|
|
@@ -182,9 +183,9 @@ def init_video_session(
|
|
| 182 |
GLOBAL_STATE.inference_session = processor.init_video_session(
|
| 183 |
video=raw_video,
|
| 184 |
inference_device=DEVICE,
|
| 185 |
-
video_storage_device="cpu",
|
| 186 |
-
processing_device="cpu",
|
| 187 |
inference_state_device=DEVICE,
|
|
|
|
|
|
|
| 188 |
dtype=DTYPE,
|
| 189 |
)
|
| 190 |
|
|
|
|
| 173 |
GLOBAL_STATE.inference_session = processor.init_video_session(
|
| 174 |
video=frames,
|
| 175 |
inference_device=DEVICE,
|
| 176 |
+
inference_state_device=DEVICE,
|
| 177 |
processing_device="cpu",
|
| 178 |
video_storage_device="cpu",
|
| 179 |
dtype=DTYPE,
|
|
|
|
| 183 |
GLOBAL_STATE.inference_session = processor.init_video_session(
|
| 184 |
video=raw_video,
|
| 185 |
inference_device=DEVICE,
|
|
|
|
|
|
|
| 186 |
inference_state_device=DEVICE,
|
| 187 |
+
processing_device="cpu",
|
| 188 |
+
video_storage_device="cpu",
|
| 189 |
dtype=DTYPE,
|
| 190 |
)
|
| 191 |
|