Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -90,11 +90,12 @@ def upload():
|
|
| 90 |
frame_images = []
|
| 91 |
|
| 92 |
return redirect(url_for(
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
))
|
|
|
|
| 98 |
|
| 99 |
|
| 100 |
@app.route('/uploads/<path:filename>')
|
|
|
|
| 90 |
frame_images = []
|
| 91 |
|
| 92 |
return redirect(url_for(
|
| 93 |
+
'index',
|
| 94 |
+
video_filename=filename,
|
| 95 |
+
result_image=result_image,
|
| 96 |
+
frame_images="|".join(frame_images)
|
| 97 |
+
)) # <-- this is the required closing parenthesis
|
| 98 |
+
|
| 99 |
|
| 100 |
|
| 101 |
@app.route('/uploads/<path:filename>')
|