Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from VitsModelSplit.vits_model import VitsModel
|
|
3 |
from VitsModelSplit.vits_model_only_d import Vits_models_only_decoder
|
4 |
def greet(name):
|
5 |
|
6 |
-
model =
|
7 |
return "Hello " + name + "!!"
|
8 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
9 |
demo.launch(share=True)
|
|
|
3 |
from VitsModelSplit.vits_model_only_d import Vits_models_only_decoder
|
4 |
def greet(name):
|
5 |
|
6 |
+
model = Vits_models_only_decoder.from_pretrained("wasmdashai/vits-ar-sa-huba",token=name)
|
7 |
return "Hello " + name + "!!"
|
8 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
9 |
demo.launch(share=True)
|