Spaces:
Runtime error
Runtime error
Commit
·
8bd7fd1
1
Parent(s):
708f094
adding queue for parallel request
Browse files
app.py
CHANGED
@@ -873,5 +873,8 @@ def create_interface():
|
|
873 |
|
874 |
if __name__ == "__main__":
|
875 |
demo = create_interface()
|
876 |
-
# demo.
|
|
|
|
|
|
|
877 |
demo.launch(server_name="0.0.0.0")
|
|
|
873 |
|
874 |
if __name__ == "__main__":
|
875 |
demo = create_interface()
|
876 |
+
# demo.queue(
|
877 |
+
# max_size=8,
|
878 |
+
# default_concurrency_limit=8,
|
879 |
+
# ).launch(server_name="0.0.0.0", share=True, server_port=7890)
|
880 |
demo.launch(server_name="0.0.0.0")
|