Spaces:
Paused
Paused
Update api/ltx_server_refactored_complete.py
Browse files
api/ltx_server_refactored_complete.py
CHANGED
|
@@ -290,7 +290,7 @@ class VideoService:
|
|
| 290 |
if isinstance(caminho, (bytes, bytearray)):
|
| 291 |
return torch.load(io.BytesIO(caminho))
|
| 292 |
# Caso contrário, assume que é um caminho de arquivo
|
| 293 |
-
return torch.load(caminho
|
| 294 |
|
| 295 |
# ==========================================================================
|
| 296 |
# --- PUBLIC ORCHESTRATORS ---
|
|
|
|
| 290 |
if isinstance(caminho, (bytes, bytearray)):
|
| 291 |
return torch.load(io.BytesIO(caminho))
|
| 292 |
# Caso contrário, assume que é um caminho de arquivo
|
| 293 |
+
return torch.load(caminho)
|
| 294 |
|
| 295 |
# ==========================================================================
|
| 296 |
# --- PUBLIC ORCHESTRATORS ---
|