Sudipta Nayak
commited on
Commit
·
a81cbb2
1
Parent(s):
5b920f8
delay code removed
Browse files- app/main.py +2 -2
app/main.py
CHANGED
@@ -59,8 +59,8 @@ async def detect_objects(request: Request, file: UploadFile):
|
|
59 |
print('output_image_path :', str(output_image_path))
|
60 |
print('is_video :', str(is_video))
|
61 |
|
62 |
-
if(str(is_video).lower() == "true"):
|
63 |
-
|
64 |
|
65 |
# Render HTML using Jinja2Templates
|
66 |
return templates.TemplateResponse(
|
|
|
59 |
print('output_image_path :', str(output_image_path))
|
60 |
print('is_video :', str(is_video))
|
61 |
|
62 |
+
# if(str(is_video).lower() == "true"):
|
63 |
+
# time.sleep(15)
|
64 |
|
65 |
# Render HTML using Jinja2Templates
|
66 |
return templates.TemplateResponse(
|