Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -675,9 +675,9 @@ def save_pretrained(path):
|
|
| 675 |
|
| 676 |
pro.load_model()
|
| 677 |
return 'save_pretrained'
|
| 678 |
-
def read_modell(
|
| 679 |
-
model22=Vits_models_only_decoder.from_pretrained(n_model,token
|
| 680 |
-
return
|
| 681 |
with gr.Blocks() as interface:
|
| 682 |
with gr.Accordion("read model ", open=False):
|
| 683 |
btn_init = gr.Button("run")
|
|
|
|
| 675 |
|
| 676 |
pro.load_model()
|
| 677 |
return 'save_pretrained'
|
| 678 |
+
def read_modell(n_model):
|
| 679 |
+
#model22=Vits_models_only_decoder.from_pretrained(n_model,token)#.to("cuda")
|
| 680 |
+
return token
|
| 681 |
with gr.Blocks() as interface:
|
| 682 |
with gr.Accordion("read model ", open=False):
|
| 683 |
btn_init = gr.Button("run")
|