lukasgarbas commited on
Commit
b8c75ba
·
1 Parent(s): 547f094

launch as entry point

Browse files
Files changed (1) hide show
  1. launch.py +10 -0
launch.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ from demo.app import demo
2
+
3
+
4
+ def main() -> None:
5
+ demo.queue(default_concurrency_limit=3)
6
+ demo.launch(max_threads=6)
7
+
8
+
9
+ if __name__ == "__main__":
10
+ main()