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