Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -215,11 +215,11 @@ with gr.Blocks(title="Orpheus Text-to-Speech") as demo:
|
|
215 |
gemini_api_key = gr.Textbox(label="Gemini API Key", type="password")
|
216 |
prompt = gr.Textbox(label="Prompt", lines=8, placeholder="Enter your text here...")
|
217 |
uploaded_file = gr.File(label="Upload File")
|
218 |
-
duration = gr.Slider(minimum=1, maximum=60, value=5, step=1, label="Duration (minutes)")
|
219 |
-
num_hosts = gr.Radio(["1", "2"], label="Number of Hosts", value="1")
|
220 |
generate_script_btn = gr.Button("Generate Podcast Script")
|
221 |
|
222 |
with gr.Column(scale=2):
|
|
|
|
|
223 |
voice1 = gr.Dropdown(
|
224 |
choices=VOICES,
|
225 |
value="tara",
|
|
|
215 |
gemini_api_key = gr.Textbox(label="Gemini API Key", type="password")
|
216 |
prompt = gr.Textbox(label="Prompt", lines=8, placeholder="Enter your text here...")
|
217 |
uploaded_file = gr.File(label="Upload File")
|
|
|
|
|
218 |
generate_script_btn = gr.Button("Generate Podcast Script")
|
219 |
|
220 |
with gr.Column(scale=2):
|
221 |
+
duration = gr.Slider(minimum=1, maximum=60, value=5, step=1, label="Duration (minutes)")
|
222 |
+
num_hosts = gr.Radio(["1", "2"], label="Number of Hosts", value="1")
|
223 |
voice1 = gr.Dropdown(
|
224 |
choices=VOICES,
|
225 |
value="tara",
|