Skip to content

Automate browser based workflows with AI

chmod+x run_ui and activate poetry env alongside scripts starting (#20)

Suchintan065d2983faea
diff --git a/run b/run
index de6d62791..2f1a0cdc1 100755
--- a/run
+++ b/run
@@ -6,4 +6,5 @@ if [ ! -f .env ]; then
cp .env.example .env
echo "Please add your api keys to the .env file."
fi
+source "$(poetry env info --path)/bin/activate"
poetry run python -m skyvern.forge
diff --git a/run_ui.sh b/run_ui.sh
old mode 100644
new mode 100755
index bba67d21a..8d83413ac
--- a/run_ui.sh
+++ b/run_ui.sh
@@ -1 +1,2 @@
+source "$(poetry env info --path)/bin/activate"
streamlit run streamlit_app/visualizer/streamlit.py
\ No newline at end of file