Update video_service.py
Browse files- video_service.py +1 -1
video_service.py
CHANGED
|
@@ -485,7 +485,7 @@ class VideoService:
|
|
| 485 |
with ctx:
|
| 486 |
result_tensor = multi_scale_pipeline(**multi_scale_call_kwargs).images
|
| 487 |
log_tensor_info(result_tensor, "Resultado da Etapa 2 (Saída do Pipeline Multi-Scale)")
|
| 488 |
-
|
| 489 |
single_pass_kwargs = call_kwargs.copy()
|
| 490 |
first_pass_config = self.config.get("first_pass", {})
|
| 491 |
single_pass_kwargs.update(
|
|
|
|
| 485 |
with ctx:
|
| 486 |
result_tensor = multi_scale_pipeline(**multi_scale_call_kwargs).images
|
| 487 |
log_tensor_info(result_tensor, "Resultado da Etapa 2 (Saída do Pipeline Multi-Scale)")
|
| 488 |
+
else:
|
| 489 |
single_pass_kwargs = call_kwargs.copy()
|
| 490 |
first_pass_config = self.config.get("first_pass", {})
|
| 491 |
single_pass_kwargs.update(
|