File size: 544 Bytes
ca30968
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import importlib
import huggingface_hub

print("βœ… Test environment started.")
print(f"βœ… huggingface-hub version: {huggingface_hub.__version__}")

try:
    transformers = importlib.import_module("transformers")
    print(f"βœ… transformers version: {transformers.__version__}")
except Exception as e:
    print("❌ transformers not loaded:", e)

try:
    import torch
    print(f"βœ… torch version: {torch.__version__}")
except Exception as e:
    print("❌ torch not loaded:", e)

print("βœ… All environment checks passed successfully!")