Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -129,8 +129,8 @@ with gr.Blocks(css=css) as demo:
|
|
129 |
btn = gr.Button(value="generate")
|
130 |
|
131 |
with gr.Column():
|
132 |
-
|
133 |
-
output_byte_code = gr.Textbox(label="Byte Code Output")
|
134 |
btn.click(generate_audio,inputs=[prompt,duration, steps, cfg],outputs=output_byte_code,api_name="genAudio")
|
135 |
|
136 |
# Pre-load the model to avoid multiprocessing issues
|
|
|
129 |
btn = gr.Button(value="generate")
|
130 |
|
131 |
with gr.Column():
|
132 |
+
output = gr.Audio(label="audio")
|
133 |
+
# output_byte_code = gr.Textbox(label="Byte Code Output")
|
134 |
btn.click(generate_audio,inputs=[prompt,duration, steps, cfg],outputs=output_byte_code,api_name="genAudio")
|
135 |
|
136 |
# Pre-load the model to avoid multiprocessing issues
|