Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,7 @@ import os
|
|
| 6 |
import numpy as np
|
| 7 |
|
| 8 |
token=os.environ.get("key_")
|
|
|
|
| 9 |
#tokenizer = AutoTokenizer.from_pretrained("wasmdashai/vtk",token=token)
|
| 10 |
models= {}
|
| 11 |
|
|
@@ -172,4 +173,4 @@ model_choices = gr.Dropdown(
|
|
| 172 |
|
| 173 |
demo = gr.Interface(fn=modelspeech, inputs=["text",model_choices,gr.Slider(0.1, 1, step=0.1,value=0.8)], outputs=["audio"])
|
| 174 |
demo.queue()
|
| 175 |
-
demo.launch(
|
|
|
|
| 6 |
import numpy as np
|
| 7 |
|
| 8 |
token=os.environ.get("key_")
|
| 9 |
+
print(token)
|
| 10 |
#tokenizer = AutoTokenizer.from_pretrained("wasmdashai/vtk",token=token)
|
| 11 |
models= {}
|
| 12 |
|
|
|
|
| 173 |
|
| 174 |
demo = gr.Interface(fn=modelspeech, inputs=["text",model_choices,gr.Slider(0.1, 1, step=0.1,value=0.8)], outputs=["audio"])
|
| 175 |
demo.queue()
|
| 176 |
+
demo.launch()
|