drewThomasson commited on
Commit
bfbd9aa
1 Parent(s): 1fa6a51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -153,9 +153,10 @@ with gr.Blocks() as gui:
153
  file_output = gr.File(
154
  label="Generated Audiobook Files",
155
  file_count="multiple",
156
- type='file' # Use 'file' type for gr.File component
157
  )
158
 
 
159
  # Update the file_output component with the list of output files
160
  download_button.click(fn=list_output_files, inputs=[], outputs=file_output)
161
 
 
153
  file_output = gr.File(
154
  label="Generated Audiobook Files",
155
  file_count="multiple",
156
+ type='filepath' # Corrected the type to 'filepath'
157
  )
158
 
159
+
160
  # Update the file_output component with the list of output files
161
  download_button.click(fn=list_output_files, inputs=[], outputs=file_output)
162