Spaces:
Runtime error
Runtime error
Commit
·
f2b0da1
1
Parent(s):
87f4be5
change print to logger
Browse files- app/routers/video.py +1 -1
app/routers/video.py
CHANGED
@@ -127,7 +127,7 @@ async def inferenceVideo(artifactId: str, inputDir: str, threshold: float):
|
|
127 |
_, _ = await asyncio.gather(uploadVideo(), uploadThumbnail())
|
128 |
print(now() - n)
|
129 |
except Exception as e:
|
130 |
-
|
131 |
|
132 |
updateArtifact(
|
133 |
artifactId,
|
|
|
127 |
_, _ = await asyncio.gather(uploadVideo(), uploadThumbnail())
|
128 |
print(now() - n)
|
129 |
except Exception as e:
|
130 |
+
logger.error(e)
|
131 |
|
132 |
updateArtifact(
|
133 |
artifactId,
|