Spaces:
Runtime error
Runtime error
"""Test gradio_ttw_api.""" | |
# pylint: disable=broad-except | |
from gradio_ttw_api import __version__ | |
from gradio_ttw_api import gradio_ttw_api | |
def test_version(): | |
"""Test version.""" | |
assert __version__[:3] == "0.1" | |
def test_sanity(): | |
"""Check sanity.""" | |
try: | |
assert not gradio_ttw_api() | |
except Exception: | |
assert True | |