test-scripts / test_uv_cli.py
evalstate's picture
evalstate HF Staff
Upload test_uv_cli.py with huggingface_hub
418b512 verified
#!/usr/bin/env python3
# /// script
# dependencies = []
# ///
import time
import sys
import os
# Force unbuffered output
os.environ['PYTHONUNBUFFERED'] = '1'
print('πŸš€ UV CLI Test - Starting...', flush=True)
sys.stdout.flush()
for i in range(5):
print(f'βœ… Step {i+1}/5 from UV CLI test', flush=True)
sys.stdout.flush()
time.sleep(1)
print('πŸŽ‰ UV CLI Test - Complete!', flush=True)
sys.stdout.flush()