-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrun.sh
More file actions
executable file
·24 lines (19 loc) · 955 Bytes
/
Copy pathrun.sh
File metadata and controls
executable file
·24 lines (19 loc) · 955 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
#!/bin/bash
echo " ___ _ _____ "
echo " / _ \ | | | ___| "
echo "/ /_\ \ _ _ | |_ ___ | |__ __ __ _ __ _ __ ___ ___ ___ "
echo "| _ || | | || __|/ _ \ | __|\ \/ /| '_ \ | '__|/ _ \/ __|/ __|"
echo "| | | || |_| || |_| (_) || |___ > < | |_) || | | __/\__ \\\\__ \\"
echo "\_| |_/ \__,_| \__|\___/ \____//_/\_\| .__/ |_| \___||___/|___/"
echo " | | "
echo " |_| "
echo ""
echo "Starting AutoExpress..."
echo "Please ensure your Automatic1111 WebUI is running with API enabled (--api flag)"
echo ""
# Activate the Python virtual environment
source .venv/bin/activate
# Run the Flask application
flask --app autoexpress run --host=0.0.0.0 --port=5000
# Deactivate the virtual environment after Flask stops
deactivate