Spaces:
Runtime error
Runtime error
Update src/webui.py
Browse files- src/webui.py +2 -4
src/webui.py
CHANGED
|
@@ -103,8 +103,6 @@ def upload_local_model(zip_path, dir_name, progress=gr.Progress()):
|
|
| 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 = []
|
|
@@ -295,8 +293,8 @@ if __name__ == '__main__':
|
|
| 295 |
|
| 296 |
with gr.Tab('From HuggingFace/Pixeldrain URL'):
|
| 297 |
with gr.Row():
|
| 298 |
-
model_name = gr.Text(label='Model Name', info='Give your new model a unique name from your other voice models.'
|
| 299 |
-
model_zip_link = gr.Text(label='Link', info='Should be a zip file containing a .pth model file and an optional .index file.'
|
| 300 |
|
| 301 |
with gr.Row():
|
| 302 |
download_btn = gr.Button('Download 🌐', variant='primary', scale=19)
|
|
|
|
| 103 |
raise gr.Error(str(e))
|
| 104 |
|
| 105 |
def_link = "https://youtu.be/hT_nvWreIhg"
|
|
|
|
|
|
|
| 106 |
|
| 107 |
def filter_models(tags, query):
|
| 108 |
models_table = []
|
|
|
|
| 293 |
|
| 294 |
with gr.Tab('From HuggingFace/Pixeldrain URL'):
|
| 295 |
with gr.Row():
|
| 296 |
+
model_name = gr.Text(label='Model Name', info='Give your new model a unique name from your other voice models.')
|
| 297 |
+
model_zip_link = gr.Text(label='Link', info='Should be a zip file containing a .pth model file and an optional .index file.')
|
| 298 |
|
| 299 |
with gr.Row():
|
| 300 |
download_btn = gr.Button('Download 🌐', variant='primary', scale=19)
|