Skip to content
Snippets Groups Projects
Unverified Commit 694c20b0 authored by Marcin Wątroba's avatar Marcin Wątroba
Browse files

Remove reloader in flask services

parent 8a3e352e
No related branches found
No related tags found
1 merge request!10Feature/add auth asr service
......@@ -108,4 +108,4 @@ ENV/
.DS_Store
debug_run/
publish_to_theliver.sh
......@@ -64,4 +64,4 @@ class AsrBaseProcessor(ABC):
app.route("/process_asr", methods=["POST"])(auth.login_required(self.process_request))
app.route("/health_check", methods=["GET"])(self.health_check)
port = int(os.environ[_SERVICE_PORT]) if _SERVICE_PORT in os.environ else 5000
app.run(debug=True, host="0.0.0.0", port=port)
app.run(debug=True, host="0.0.0.0", port=port, use_reloader=False)
......@@ -53,4 +53,4 @@ class EmbeddingBaseProcessor(ABC):
)
app.route("/health_check", methods=["GET"])(self.health_check)
port = int(os.environ[_SERVICE_PORT]) if _SERVICE_PORT in os.environ else 5000
app.run(debug=True, host="0.0.0.0", port=port)
app.run(debug=True, host="0.0.0.0", port=port, use_reloader=False)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment