Update src/webui.py
Browse files- src/webui.py +3 -4
src/webui.py
CHANGED
@@ -102,6 +102,9 @@ def upload_local_model(zip_path, dir_name, progress=gr.Progress()):
|
|
102 |
except Exception as e:
|
103 |
raise gr.Error(str(e))
|
104 |
|
|
|
|
|
|
|
105 |
|
106 |
def filter_models(tags, query):
|
107 |
models_table = []
|
@@ -166,10 +169,6 @@ if __name__ == '__main__':
|
|
166 |
with open(os.path.join(rvc_models_dir, 'public_models.json'), encoding='utf8') as infile:
|
167 |
public_models = json.load(infile)
|
168 |
|
169 |
-
def_link = "https://youtu.be/hT_nvWreIhg"
|
170 |
-
def_model = "https://huggingface.co/Kuma6/Satoru-Gojo/resolve/main/Gojo.zip"
|
171 |
-
def_name = "Gojo (JP)"
|
172 |
-
|
173 |
with gr.Blocks(title='oItsMineZ\'s AI Cover WebUI', theme=gr.themes.Base(font=[gr.themes.GoogleFont("Noto Sans Thai"), "sans-serif"])) as app:
|
174 |
|
175 |
gr.Label('oItsMineZ\'s RVC v2 AI Cover WebUI', show_label=False)
|
|
|
102 |
except Exception as e:
|
103 |
raise gr.Error(str(e))
|
104 |
|
105 |
+
def_link = "https://youtu.be/hT_nvWreIhg"
|
106 |
+
def_model = "https://huggingface.co/Kuma6/Satoru-Gojo/resolve/main/Gojo.zip"
|
107 |
+
def_name = "Gojo (JP)"
|
108 |
|
109 |
def filter_models(tags, query):
|
110 |
models_table = []
|
|
|
169 |
with open(os.path.join(rvc_models_dir, 'public_models.json'), encoding='utf8') as infile:
|
170 |
public_models = json.load(infile)
|
171 |
|
|
|
|
|
|
|
|
|
172 |
with gr.Blocks(title='oItsMineZ\'s AI Cover WebUI', theme=gr.themes.Base(font=[gr.themes.GoogleFont("Noto Sans Thai"), "sans-serif"])) as app:
|
173 |
|
174 |
gr.Label('oItsMineZ\'s RVC v2 AI Cover WebUI', show_label=False)
|