-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathlaunch_streamlit.sh
More file actions
32 lines (26 loc) · 896 Bytes
/
launch_streamlit.sh
File metadata and controls
32 lines (26 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
###############################################################################
# SGLang Video Generation Streamlit App Launcher
###############################################################################
# Get script directory
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Change to script directory
cd "$SCRIPT_DIR"
# Default port
PORT=${PORT:-8500}
# Colors
GREEN='\033[0;32m'
BLUE='\033[0;34m'
NC='\033[0m' # No Color
echo -e "${BLUE}========================================${NC}"
echo -e "${BLUE}SGLang Video Generation Streamlit App${NC}"
echo -e "${BLUE}========================================${NC}"
echo ""
echo -e "${GREEN}Starting Streamlit server on port $PORT...${NC}"
echo ""
# Launch Streamlit
streamlit run app.py \
--server.port "$PORT" \
--server.address "0.0.0.0" \
--server.headless true \
--browser.gatherUsageStats false