Update app.py
Browse files
app.py
CHANGED
|
@@ -81,7 +81,7 @@ with gr.Blocks() as demo:
|
|
| 81 |
voice = gr.Dropdown(choices=['alloy', 'echo', 'fable', 'onyx', 'nova', 'shimmer'], label='Voice Options', value='alloy')
|
| 82 |
speed = gr.Slider(minimum=0.5, maximum=2.0, step=0.1, label="Speed", value=1.0)
|
| 83 |
# Add dropdown for URL selection
|
| 84 |
-
base_url = gr.Dropdown(choices=['
|
| 85 |
|
| 86 |
text = gr.Textbox(label="Input text", placeholder="Enter your text and then click on the 'Text-To-Speech' button, or simply press the Enter key.")
|
| 87 |
char_counter = gr.Markdown("Character count: 0")
|
|
|
|
| 81 |
voice = gr.Dropdown(choices=['alloy', 'echo', 'fable', 'onyx', 'nova', 'shimmer'], label='Voice Options', value='alloy')
|
| 82 |
speed = gr.Slider(minimum=0.5, maximum=2.0, step=0.1, label="Speed", value=1.0)
|
| 83 |
# Add dropdown for URL selection
|
| 84 |
+
base_url = gr.Dropdown(choices=['https://open.keyai.shop','https://api.openai.com' ], label="API Endpoint", value='https://open.keyai.shop')
|
| 85 |
|
| 86 |
text = gr.Textbox(label="Input text", placeholder="Enter your text and then click on the 'Text-To-Speech' button, or simply press the Enter key.")
|
| 87 |
char_counter = gr.Markdown("Character count: 0")
|