Download tabs/settings/version.py from Errorsoon/RVC_HF: direct link, hf CLI and curl.
- Browser
- Download file 715 Bytes
-
https://huggingface.co/spaces/Errorsoon/RVC_HF/resolve/main/tabs/settings/version.py
- Command line
-
hf download hf://spaces/Errorsoon/RVC_HF/tabs/settings/version.py
-
curl -L -o version.py https://huggingface.co/spaces/Errorsoon/RVC_HF/resolve/main/tabs/settings/version.py
715 Bytes
| import gradio as gr | |
| from assets.version_checker import compare_version | |
| from assets.i18n.i18n import I18nAuto | |
| i18n = I18nAuto() | |
| def version_tab(): | |
| with gr.Row(): | |
| with gr.Column(): | |
| version_check = gr.Textbox( | |
| label=i18n("Version Checker"), | |
| info=i18n( | |
| "Check which version of Applio is the latest to see if you need to update." | |
| ), | |
| interactive=False, | |
| ) | |
| version_button = gr.Button(i18n("Check for updates")) | |
| version_button.click( | |
| fn=compare_version, | |
| inputs=[], | |
| outputs=[version_check], | |
| ) | |