You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
docker image build -t convert-video-to-audio .
(build ran successfully)
➜ convert-video-to-audio git:(master) ✗ docker run -p 8080:8080 convert-video-to-audio
Traceback (most recent call last):
File "app.py", line 1, in
from flask import Flask, render_template, request, redirect, jsonify
File "/usr/local/lib/python3.5/dist-packages/flask/init.py", line 14, in
from jinja2 import escape
File "/usr/local/lib/python3.5/dist-packages/jinja2/init.py", line 5, in
from .bccache import BytecodeCache as BytecodeCache
File "/usr/local/lib/python3.5/dist-packages/jinja2/bccache.py", line 61
self.code: t.Optional[CodeType] = None
^
SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered:
Change one line in app.py
from werkzeug.utils import secure_filename
Then app worked as required and could successfully start the app and complete uploads and extract audio from video and do Step 3 -> Play the Audio file(s) from Cloud Object Storage
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
convert-video-to-audio git:(master) ✗ docker --version
Docker version 20.10.7, build f0df350
git clone https://github.com/IBM/convert-video-to-audio
cd convert-video-to-audio
docker image build -t convert-video-to-audio .
(build ran successfully)
➜ convert-video-to-audio git:(master) ✗ docker run -p 8080:8080 convert-video-to-audio
Traceback (most recent call last):
File "app.py", line 1, in
from flask import Flask, render_template, request, redirect, jsonify
File "/usr/local/lib/python3.5/dist-packages/flask/init.py", line 14, in
from jinja2 import escape
File "/usr/local/lib/python3.5/dist-packages/jinja2/init.py", line 5, in
from .bccache import BytecodeCache as BytecodeCache
File "/usr/local/lib/python3.5/dist-packages/jinja2/bccache.py", line 61
self.code: t.Optional[CodeType] = None
^
SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered: