Spaces:
Runtime error
Runtime error
Download tests/test_app.py from blizzarman/polyglot-tutor: direct link, hf CLI and curl.
- Browser
- Download file 277 Bytes
-
https://huggingface.co/spaces/blizzarman/polyglot-tutor/resolve/main/tests/test_app.py
- Command line
-
hf download hf://spaces/blizzarman/polyglot-tutor/tests/test_app.py
-
curl -L -o test_app.py https://huggingface.co/spaces/blizzarman/polyglot-tutor/resolve/main/tests/test_app.py
277 Bytes
| import gradio as gr | |
| from tutor.app.main import build_app | |
| from tutor.config import Settings | |
| def test_build_app_with_fake_provider() -> None: | |
| settings = Settings(_env_file=None) # type: ignore[call-arg] | |
| app = build_app(settings) | |
| assert isinstance(app, gr.Blocks) | |