Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -241,5 +241,5 @@ def index():
|
|
241 |
|
242 |
|
243 |
if __name__ == "__main__":
|
244 |
-
app.run(host="0.0.0.0", port=7860, workers=
|
245 |
|
|
|
241 |
|
242 |
|
243 |
if __name__ == "__main__":
|
244 |
+
app.run(host="0.0.0.0", port=7860, workers=3, threads=3) # workers=(2*ncores) + 1, threads= (2 to 4*ncores) + 1
|
245 |
|