evalstate HF Staff commited on
Commit
418b512
·
verified ·
1 Parent(s): 8a05091

Upload test_uv_cli.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. test_uv_cli.py +22 -0
test_uv_cli.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ # /// script
3
+ # dependencies = []
4
+ # ///
5
+
6
+ import time
7
+ import sys
8
+ import os
9
+
10
+ # Force unbuffered output
11
+ os.environ['PYTHONUNBUFFERED'] = '1'
12
+
13
+ print('🚀 UV CLI Test - Starting...', flush=True)
14
+ sys.stdout.flush()
15
+
16
+ for i in range(5):
17
+ print(f'✅ Step {i+1}/5 from UV CLI test', flush=True)
18
+ sys.stdout.flush()
19
+ time.sleep(1)
20
+
21
+ print('🎉 UV CLI Test - Complete!', flush=True)
22
+ sys.stdout.flush()