Created
August 20, 2024 07:59
-
-
Save uysalserkan/44bee9bc2eb7597fc8c17b368ad37c32 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/sh | |
# Check fisrt parameter and run python script with it | |
if [ "$1" = "ui" ]; then | |
streamlit run ui.py | |
elif [ "$1" = "api" ]; then | |
python3 api.py | |
else | |
echo "Invalid run type, please use 'ui' or 'api'." | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment