From 065d2983faea7f58085865c4b0cda1250570f5c4 Mon Sep 17 00:00:00 2001 From: Suchintan Date: Mon, 4 Mar 2024 11:40:03 -0500 Subject: [PATCH] chmod+x run_ui and activate poetry env alongside scripts starting (#20) --- run | 1 + run_ui.sh | 1 + 2 files changed, 2 insertions(+) mode change 100644 => 100755 run_ui.sh diff --git a/run b/run index de6d6279..2f1a0cdc 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 bba67d21..8d83413a --- 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