Spaces:
Runtime error
Runtime error
Download mount_drive.py from MedVietAI/processing: direct link, hf CLI and curl.
- Browser
- Download file 227 Bytes
-
https://huggingface.co/spaces/MedVietAI/processing/resolve/main/mount_drive.py
- Command line
-
hf download hf://spaces/MedVietAI/processing/mount_drive.py
-
curl -L -o mount_drive.py https://huggingface.co/spaces/MedVietAI/processing/resolve/main/mount_drive.py
227 Bytes
| # Check Google Drive status | |
| from utils.drive_saver import DriveSaver | |
| if __name__ == "__main__": | |
| ds = DriveSaver() | |
| if ds.is_service_available(): | |
| print("Drive ready.") | |
| else: | |
| print("Drive NOT ready.") | |