-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
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 <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))
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels