apt update
apt upgrade
shutdown -r now
cd Traffic_Signs_WebApp
pip install -r requirements.txt
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 <module>
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))