mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-21 01:01:05 +08:00
70227354e6
* changes * update UI * ui update * add font weight 600 to google font <link> * import paths * changes * changes * changes * changes * Update ui/packages/app/src/ApiDocs.svelte Co-authored-by: Victor Muštar <victor.mustar@gmail.com> * changes * changes * changes * changes * changes * changes Co-authored-by: Ali Abid <aabid94@gmail.com> Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
19 lines
424 B
Python
19 lines
424 B
Python
import os
|
|
import sys
|
|
|
|
import pytest
|
|
|
|
import gradio as gr
|
|
|
|
os.environ["GRADIO_ANALYTICS_ENABLED"] = "False"
|
|
|
|
|
|
class TestDocumentation:
|
|
@pytest.mark.skipif(
|
|
sys.version_info < (3, 8),
|
|
reason="Docs use features in inspect module not available in py 3.7",
|
|
)
|
|
def test_website_documentation(self):
|
|
documentation = gr.documentation.generate_documentation()
|
|
assert len(documentation) > 0
|