xaochNYU commited on
Commit
fd84f0b
·
verified ·
1 Parent(s): 144aff1

Upload start.sh

Browse files
Files changed (1) hide show
  1. start.sh +13 -0
start.sh ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # Start the first process
4
+ langflow run --backend-only --env-file /app/.env --host 0.0.0.0 --port 8888 &
5
+
6
+ # Start the second process
7
+ python3 -m chainlit run app.py --host 0.0.0.0 --port 7860 &
8
+
9
+ # Wait for any process to exit
10
+ wait -n
11
+
12
+ # Exit with status of process that exited first
13
+ exit $?