Spaces:
Sleeping
Sleeping
Kaelan
commited on
Commit
·
c081548
1
Parent(s):
96aed57
add more
Browse files- Dockerfile +1 -1
- public/index.html +1 -1
Dockerfile
CHANGED
@@ -66,4 +66,4 @@ RUN mkdir -p $HOME/sg_logs && chmod -R 777 $HOME/sg_logs
|
|
66 |
|
67 |
WORKDIR $HOME/yolov-app
|
68 |
|
69 |
-
CMD ["gunicorn", "-w", "4", "--timeout", "
|
|
|
66 |
|
67 |
WORKDIR $HOME/yolov-app
|
68 |
|
69 |
+
CMD ["gunicorn", "-w", "4", "--timeout", "600", "-b", "0.0.0.0:5000", "main:app"]
|
public/index.html
CHANGED
@@ -74,7 +74,7 @@
|
|
74 |
|
75 |
<div class="col">
|
76 |
<h1>RESULT</h1>
|
77 |
-
<p>Video will take
|
78 |
{% if predictions and ft=='video': %}
|
79 |
<video class="border border-secondary" controls autoplay><source src={{saved_outout}} type="video/mp4" height='680' width='680' name={{predictions}}></video>
|
80 |
{% elif predictions and ft=='image': %}
|
|
|
74 |
|
75 |
<div class="col">
|
76 |
<h1>RESULT</h1>
|
77 |
+
<p>Video will take afew minutes or more to process. Upload images for faster processing </p>
|
78 |
{% if predictions and ft=='video': %}
|
79 |
<video class="border border-secondary" controls autoplay><source src={{saved_outout}} type="video/mp4" height='680' width='680' name={{predictions}}></video>
|
80 |
{% elif predictions and ft=='image': %}
|