yerang commited on
Commit
87b5836
1 Parent(s): 5f730a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -217,7 +217,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
217
  with gr.Row():
218
  with gr.Column(scale=1):
219
  script_txt = gr.Text(label="Textbox(Enter text OR upload an audio file.)")
220
- audio_file = gr.Audio(label="Upload audio(Enter text OR upload an audio file.)", type="file")
221
  # audio_gen_button = gr.Button("Audio generation", variant="primary")
222
  # with gr.Column():
223
  # txt2video_gen_button = gr.Button("txt2video generation", variant="primary")
 
217
  with gr.Row():
218
  with gr.Column(scale=1):
219
  script_txt = gr.Text(label="Textbox(Enter text OR upload an audio file.)")
220
+ audio_file = gr.Audio(label="Upload audio(Enter text OR upload an audio file.)", type="filepath")
221
  # audio_gen_button = gr.Button("Audio generation", variant="primary")
222
  # with gr.Column():
223
  # txt2video_gen_button = gr.Button("txt2video generation", variant="primary")