File size: 646 Bytes
e058246 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# Task name (optional), used for display purposes.
name: ZenML NLP project}
resources:
cloud: gcp # The cloud to use (optional).
# Working directory (optional), synced to ~/sky_workdir on the remote cluster
# each time launch or exec is run with the yaml file.
#
# Commands in "setup" and "run" will be executed under it.
#
# If a .gitignore file (or a .git/info/exclude file) exists in the working
# directory, files and directories listed in it will be excluded from syncing.
workdir: ./gradio
setup: |
echo "Begin setup."
pip install -r requirements.txt
echo "Setup complete."
run: |
echo 'Starting gradio app...'
python app.py |