spdraptor commited on
Commit
395f2dc
·
verified ·
1 Parent(s): 79edfd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- # output = gr.Image(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
 
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