Spaces:
Sleeping
Sleeping
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!")
|