Open johnfelipe opened 3 years ago
Remove that debug = True line, it's for flask, I think you are using StreamLit.
On Sun, 13 Jun 2021, 3:43 am felipe, @.***> wrote:
apt update apt upgrade shutdown -r now
then apt install git python3-pip pip install streamlit
then git clone https://github.com/Spidy20/Traffic_Signs_WebApp.git
cd Traffic_Signs_WebApp pip install -r requirements.txt
im edit tensor to 2.2.0 streamlit run Traffic_app.py and show this error
ValueError: signal only works in main thread Traceback: File "/usr/local/lib/python3.8/dist-packages/streamlit/script_runner.py", line 338, in _run_script exec(code, module.dict) File "/root/Traffic_Signs_WebApp/Traffic_app.py", line 86, in
app.run(debug=True) File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 922, in run run_simple(t.cast(str, host), port, self, *options) File "/usr/local/lib/python3.8/dist-packages/werkzeug/serving.py", line 1000, in run_simple _rwr( File "/usr/local/lib/python3.8/dist-packages/werkzeug/_reloader.py", line 411, in run_with_reloader signal.signal(signal.SIGTERM, lambda args: sys.exit(0)) File "/usr/lib/python3.8/signal.py", line 47, in signal handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler)) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Spidy20/Traffic_Signs_WebApp/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKA3TJDPSHAPNBFCRZ5BSMLTSPLYTANCNFSM46TD6YUQ .
https://paste.md-5.net/ukiviporoz.coffeescript
im stock pls tell me what i need to do
then apt install git python3-pip pip install streamlit
then git clone https://github.com/Spidy20/Traffic_Signs_WebApp.git
im edit tensor to 2.2.0 streamlit run Traffic_app.py and show this error