Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -261,12 +261,7 @@ with gr.Blocks(title="Orpheus Text-to-Speech") as demo:
|
|
261 |
|
262 |
with gr.Column(scale=2):
|
263 |
script_output = gr.Textbox(label="Generated Script", lines=10)
|
264 |
-
|
265 |
-
submit_btn.click(
|
266 |
-
fn=generate_speech,
|
267 |
-
inputs=[script_output, voice1, voice2, temperature, top_p, repetition_penalty, max_new_tokens, num_hosts],
|
268 |
-
outputs=audio_output
|
269 |
-
)
|
270 |
audio_output = gr.Audio(label="Generated Speech", type="numpy")
|
271 |
|
272 |
generate_script_btn.click(
|
|
|
261 |
|
262 |
with gr.Column(scale=2):
|
263 |
script_output = gr.Textbox(label="Generated Script", lines=10)
|
264 |
+
generate_script_btn = gr.Button("Generate Podcast Script")
|
|
|
|
|
|
|
|
|
|
|
265 |
audio_output = gr.Audio(label="Generated Speech", type="numpy")
|
266 |
|
267 |
generate_script_btn.click(
|