Spaces:
Sleeping
Sleeping
Download modules/webui/readme_tab.py from ProbablyBlue/ChatTTS-Forge: direct link, hf CLI and curl.
- Browser
- Download file 339 Bytes
-
https://huggingface.co/spaces/ProbablyBlue/ChatTTS-Forge/resolve/main/modules/webui/readme_tab.py
- Command line
-
hf download hf://spaces/ProbablyBlue/ChatTTS-Forge/modules/webui/readme_tab.py
-
curl -L -o readme_tab.py https://huggingface.co/spaces/ProbablyBlue/ChatTTS-Forge/resolve/main/modules/webui/readme_tab.py
339 Bytes
| import gradio as gr | |
| def read_local_readme(): | |
| with open("README.md", "r", encoding="utf-8") as file: | |
| content = file.read() | |
| content = content[content.index("# ") :] | |
| return content | |
| def create_readme_tab(): | |
| readme_content = read_local_readme() | |
| gr.Markdown(readme_content, elem_classes=["no-translate"]) | |