Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
886ac38
1
Parent(s):
aa4ac3d
space apps have a limit of one gpu, so we need a queue of 1.
Browse files
app.py
CHANGED
@@ -966,4 +966,4 @@ if __name__ == "__main__":
|
|
966 |
except Exception as e:
|
967 |
print(f"Could not write default {DEFAULT_MATERIALS_CSV}: {e}")
|
968 |
print("To run the UI, execute: python app.py") # Corrected to python app.py
|
969 |
-
demo.queue(default_concurrency_limit=
|
|
|
966 |
except Exception as e:
|
967 |
print(f"Could not write default {DEFAULT_MATERIALS_CSV}: {e}")
|
968 |
print("To run the UI, execute: python app.py") # Corrected to python app.py
|
969 |
+
demo.queue(default_concurrency_limit=1).launch(share=False)
|