Update src/main_MM.py
Browse files- src/main_MM.py +1 -1
src/main_MM.py
CHANGED
|
@@ -72,6 +72,6 @@ def handle_all_unsupported_mediatype_exceptions(exc):
|
|
| 72 |
|
| 73 |
|
| 74 |
if __name__ == "__main__":
|
| 75 |
-
serve(app, host='0.0.0.0', port=
|
| 76 |
#app.run()
|
| 77 |
|
|
|
|
| 72 |
|
| 73 |
|
| 74 |
if __name__ == "__main__":
|
| 75 |
+
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)))
|
| 76 |
#app.run()
|
| 77 |
|