Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -85,8 +85,8 @@ class model_onxx:
|
|
| 85 |
'output': {0: 'batch_size'}
|
| 86 |
}
|
| 87 |
)
|
| 88 |
-
|
| 89 |
-
|
| 90 |
def convert_to_onnx_all(self,n_model,token ,namemodelonxx):
|
| 91 |
|
| 92 |
model=VitsModel.from_pretrained(n_model,token=token)
|
|
@@ -106,7 +106,7 @@ class model_onxx:
|
|
| 106 |
'output': {0: 'batch_size'}
|
| 107 |
}
|
| 108 |
)
|
| 109 |
-
return
|
| 110 |
def starrt(self):
|
| 111 |
#with gr.Blocks() as demo:
|
| 112 |
with gr.Row():
|
|
|
|
| 85 |
'output': {0: 'batch_size'}
|
| 86 |
}
|
| 87 |
)
|
| 88 |
+
return x
|
| 89 |
+
|
| 90 |
def convert_to_onnx_all(self,n_model,token ,namemodelonxx):
|
| 91 |
|
| 92 |
model=VitsModel.from_pretrained(n_model,token=token)
|
|
|
|
| 106 |
'output': {0: 'batch_size'}
|
| 107 |
}
|
| 108 |
)
|
| 109 |
+
return x
|
| 110 |
def starrt(self):
|
| 111 |
#with gr.Blocks() as demo:
|
| 112 |
with gr.Row():
|