Spaces:
Configuration error
Configuration error
Download src/__chat__.py from lifedebugger/cs-ai-sakura-dev: direct link, hf CLI and curl.
- Browser
- Download file 262 Bytes
-
https://huggingface.co/spaces/lifedebugger/cs-ai-sakura-dev/resolve/main/src/__chat__.py
- Command line
-
hf download hf://spaces/lifedebugger/cs-ai-sakura-dev/src/__chat__.py
-
curl -L -o __chat__.py https://huggingface.co/spaces/lifedebugger/cs-ai-sakura-dev/resolve/main/src/__chat__.py
262 Bytes
| from tests.inference_test import test_inference | |
| from huggingface_hub import login | |
| login(new_session=False) | |
| import warnings | |
| warnings.filterwarnings("ignore") | |
| def run_test(): | |
| try: | |
| test_inference() | |
| except Exception as e: | |
| print(e) | |
| run_test() |