Download verify_refactor.py from valent-p/qecho: direct link, hf CLI and curl.
- Browser
- Download file 750 Bytes
-
https://huggingface.co/spaces/valent-p/qecho/resolve/main/verify_refactor.py
- Command line
-
hf download hf://spaces/valent-p/qecho/verify_refactor.py
-
curl -L -o verify_refactor.py https://huggingface.co/spaces/valent-p/qecho/resolve/main/verify_refactor.py
750 Bytes
| import sys | |
| import os | |
| # Set dummy env vars to avoid warnings/errors during import if they check immediately | |
| os.environ["SUPABASE_URL"] = "https://example.supabase.co" | |
| os.environ["SUPABASE_KEY"] = "dummy-key" | |
| try: | |
| print("Attempting to import app...") | |
| from app import app | |
| print("Successfully imported app.") | |
| print("Attempting to import services...") | |
| from src.services import process_store_data | |
| print("Successfully imported services.") | |
| print("Attempting to import routers...") | |
| from src.routers import secrets | |
| print("Successfully imported routers.") | |
| print("Verification script finished successfully.") | |
| except Exception as e: | |
| print(f"\nCRITICAL ERROR during verification: {e}") | |
| sys.exit(1) | |