FelixzeroSun's picture
Upload folder using huggingface_hub
19c1f58 verified
#!/usr/bin/env bash
# Set a default value for algorithm_name
algorithm_name="synthrad_algorithm_mri"
# Check if a command-line argument is specified, and use it as the algorithm_name
if [ ! -z "$1" ]; then
algorithm_name="$1"
fi
./build.sh
docker save synthrad_algorithm_mri | gzip -c > "${algorithm_name}.tar.gz"