mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-09 07:17:02 +08:00
23 lines
470 B
Bash
23 lines
470 B
Bash
#!/bin/bash
|
|
|
|
# Echo to indicate start of the program
|
|
echo "STARTING PROGRAM..."
|
|
|
|
# Activate the virtual environment
|
|
source venv/bin/activate
|
|
|
|
# Echo to indicate the start of the Python script
|
|
echo "*** BEGIN PROGRAM ***"
|
|
|
|
# Run the Python script
|
|
python main.py # main.py
|
|
|
|
# Echo to indicate the end of the Python script
|
|
echo "*** END PROGRAM ***"
|
|
|
|
# Deactivate the virtual environment
|
|
deactivate
|
|
|
|
# Echo to indicate program completion
|
|
echo "PROGRAM EXECUTION COMPLETE."
|