diff --git a/run.sh b/run.sh index 2471914..03f3fbc 100755 --- a/run.sh +++ b/run.sh @@ -7,7 +7,6 @@ export PORT=${PORT:-8001} # Activate the virtual environment source venv/bin/activate - # The program is run with the following command: exec uvicorn --reload --host "$HOST" --port "$PORT" "$APP_MODULE" diff --git a/src/main.py b/src/main.py index 657bbcf..5d81e15 100644 --- a/src/main.py +++ b/src/main.py @@ -6,6 +6,5 @@ app_name="app.main:app" - if __name__ == '__main__': uvicorn.run(app_name, host=host, port=port) \ No newline at end of file