Spaces:
Sleeping
Sleeping
Download backend/debug_endpoints2.py from Lav-anya05/Predict_Dasha: direct link, hf CLI and curl.
- Browser
- Download file 301 Bytes
-
https://huggingface.co/spaces/Lav-anya05/Predict_Dasha/resolve/main/backend/debug_endpoints2.py
- Command line
-
hf download hf://spaces/Lav-anya05/Predict_Dasha/backend/debug_endpoints2.py
-
curl -L -o debug_endpoints2.py https://huggingface.co/spaces/Lav-anya05/Predict_Dasha/resolve/main/backend/debug_endpoints2.py
301 Bytes
| import traceback | |
| import sys | |
| with open("debug_out.txt", "w", encoding="utf-8") as f: | |
| try: | |
| f.write("Importing api.endpoints...\n") | |
| import api.endpoints | |
| f.write("Success!\n") | |
| except Exception as e: | |
| f.write("Error occurred:\n") | |
| traceback.print_exc(file=f) | |