Update src/main.py
Browse files- src/main.py +1 -1
src/main.py
CHANGED
@@ -53,6 +53,6 @@ def handle_all_unsupported_mediatype_exceptions(exc):
|
|
53 |
|
54 |
|
55 |
if __name__ == "__main__":
|
56 |
-
serve(app, host='0.0.0.0', port=
|
57 |
#app.run()
|
58 |
|
|
|
53 |
|
54 |
|
55 |
if __name__ == "__main__":
|
56 |
+
serve(app, host='0.0.0.0', port=7860, threads=int(os.getenv('THREADS',1)),connection_limit=int(os.getenv('CONNECTION_LIMIT',500)), channel_timeout=int(os.getenv('CHANNEL_TIMEOUT',120)))
|
57 |
#app.run()
|
58 |
|