Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,6 +25,7 @@ AVAILABLE_MODELS = {
|
|
| 25 |
'OpenVoice': 'openvoice',
|
| 26 |
'Pheme': 'pheme',
|
| 27 |
'MetaVoice': 'metavoice',
|
|
|
|
| 28 |
}
|
| 29 |
|
| 30 |
SPACE_ID = os.getenv('HF_ID')
|
|
@@ -503,7 +504,7 @@ with gr.Blocks() as vote:
|
|
| 503 |
gr.Markdown(INSTR)
|
| 504 |
with gr.Group():
|
| 505 |
with gr.Row():
|
| 506 |
-
text = gr.Textbox(container=False, show_label=False, placeholder="Enter text to synthesize", lines=1, max_lines=1, scale=9999999)
|
| 507 |
randomt = gr.Button('🎲', scale=0, min_width=0)
|
| 508 |
randomt.click(randomsent, outputs=[text, randomt])
|
| 509 |
btn = gr.Button("Synthesize", variant='primary')
|
|
|
|
| 25 |
'OpenVoice': 'openvoice',
|
| 26 |
'Pheme': 'pheme',
|
| 27 |
'MetaVoice': 'metavoice',
|
| 28 |
+
'OpenAI TTS': 'openai',
|
| 29 |
}
|
| 30 |
|
| 31 |
SPACE_ID = os.getenv('HF_ID')
|
|
|
|
| 504 |
gr.Markdown(INSTR)
|
| 505 |
with gr.Group():
|
| 506 |
with gr.Row():
|
| 507 |
+
text = gr.Textbox(container=False, show_label=False, placeholder="Enter text to synthesize", lines=1, max_lines=1, scale=9999999, min_width=0)
|
| 508 |
randomt = gr.Button('🎲', scale=0, min_width=0)
|
| 509 |
randomt.click(randomsent, outputs=[text, randomt])
|
| 510 |
btn = gr.Button("Synthesize", variant='primary')
|