Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
4ee87c1
1
Parent(s):
b20cbc9
increased concurrency to 2. I will probably have to test this in the future, as each process needs one CPU core and 1-2G of vram.
Browse files
app.py
CHANGED
@@ -782,4 +782,4 @@ if __name__ == "__main__":
|
|
782 |
except Exception as e:
|
783 |
print(f"Could not write default {DEFAULT_MATERIALS_CSV}: {e}")
|
784 |
print("To run the UI, execute: python app.py") # Corrected to python app.py
|
785 |
-
demo.queue().launch(share=False)
|
|
|
782 |
except Exception as e:
|
783 |
print(f"Could not write default {DEFAULT_MATERIALS_CSV}: {e}")
|
784 |
print("To run the UI, execute: python app.py") # Corrected to python app.py
|
785 |
+
demo.queue(default_concurrency_limit=2).launch(share=False)
|