Spaces:
Runtime error
Runtime error
# Start the python script in the background asynchronously | |
nohup python scratchpad.py & | |
# Save the PID of the python script so we can reference it in the status checker | |
export USER_SCRIPT_PID=$! | |
# Start a simple web server to watch the status of the python script | |
python status_checker.py --this_space_repo_id davanstrien/fuego-20230428-014702-04e0f5 --output_dataset_id davanstrien/fuego-20230428-014702-04e0f5 --output_dirs "['outputs', 'logs']" --delete_on_completion True --downgrade_hardware_on_completion True | |