fffiloni commited on
Commit
ef47585
·
verified ·
1 Parent(s): 480d700

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -124,8 +124,8 @@ def infer(audio_input_path):
124
  # Check if the command was successful
125
  if result.returncode == 0:
126
  print("Command executed successfully.")
127
- concat_out, file_list = concatenate_audio()
128
- return concat_out, gr.update(choices=file_list, value=file_list[0], visible=True), gr.update(visible=True), gr.update(value=file_list, visible=True), gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
129
  else:
130
  print("Error executing command.")
131
  raise gr.Error("Error executing command")
@@ -247,7 +247,7 @@ def hide_previous():
247
  css="""
248
  div#col-container{
249
  margin: 0 auto;
250
- max-width: 1600px;
251
  }
252
  """
253
 
 
124
  # Check if the command was successful
125
  if result.returncode == 0:
126
  print("Command executed successfully.")
127
+ first_out, file_list = concatenate_audio()
128
+ return first_out, gr.update(choices=file_list, value=file_list[0], visible=True), gr.update(visible=True), gr.update(value=file_list, visible=True), gr.update(visible=True), gr.update(visible=True), gr.update(visible=True)
129
  else:
130
  print("Error executing command.")
131
  raise gr.Error("Error executing command")
 
247
  css="""
248
  div#col-container{
249
  margin: 0 auto;
250
+ max-width: 1200px;
251
  }
252
  """
253