-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7dd1860
commit 8fab39e
Showing
3 changed files
with
7 additions
and
25 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
#!/bin/bash | ||
|
||
source ./conda_init.sh | ||
|
||
conda_path="/home/clay/miniconda3" | ||
export PATH="$conda_path/bin:$PATH" | ||
source $conda_path/bin/activate quanta_gradio | ||
# NOTE: Run this in VSCode Terminal AND don't forget to also open a Python file and notice that you need to check | ||
# that VSCode is indeed activated to the correct conda environment, by visually looking at lower right corner of VSCode. | ||
# | ||
# conda activate quanta_gradio | ||
|
||
if [[ "$CONDA_DEFAULT_ENV" == "quanta_gradio" ]]; then | ||
rm ../../logs/Quanta_Gradio_*.log | ||
python3 Quanta_Gradio_ChatTest.py | ||
else | ||
echo "Failed to set Conda Environment: Expected quanta_gradio but found $CONDA_DEFAULT_ENV" | ||
echo "Wrong Conda Environment: Expected quanta_gradio but found $CONDA_DEFAULT_ENV" | ||
sleep 10s | ||
exit 1 | ||
fi |