Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions run.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
#!/bin/bash

if [ ! -d "venv" ]; then
echo "Creating virtual environment for ComfyUI Launcher..."
echo
echo
python3 -m venv venv
echo
echo
if [[ -z "$VIRTUAL_ENV" ]]; then
if [ ! -d "venv" ]; then
echo "Creating virtual environment for ComfyUI Launcher..."
echo
echo
python3 -m venv venv
echo
echo
fi
. venv/bin/activate
fi

echo "Installing required packages..."
echo
echo
. venv/bin/activate
pip install -r requirements.txt

echo
Expand Down