docker_test21 / run.sh
jingyangcarl's picture
init
dd6c35e
raw
history blame contribute delete
246 Bytes
#!/bin/bash
CONDA_ENV=$(head -1 /code/environment.yml | cut -d" " -f2)
eval "$(conda shell.bash hook)"
conda activate gradio-user
# Start app.py
echo "Starting app.py..."
export OMP_NUM_THREADS=4 # default is a wrong value: 7500m
python app.py