drewThomasson commited on
Commit
39de50d
·
verified ·
1 Parent(s): b977317

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -77,10 +77,9 @@ with gr.Blocks() as gui:
77
  with gr.Column():
78
  gr.Markdown("### Download Generated Audiobook Files")
79
  download_button = gr.Button("Reload Files")
80
- file_output = gr.File(
81
  label="Generated Audiobook Files",
82
- interactive=False,
83
- type='file' # Ensure the files are served correctly
84
  )
85
 
86
  # Update the file_output component with the list of output files
 
77
  with gr.Column():
78
  gr.Markdown("### Download Generated Audiobook Files")
79
  download_button = gr.Button("Reload Files")
80
+ file_output = gr.Files(
81
  label="Generated Audiobook Files",
82
+ type='file' # Use 'file' type for gr.Files component
 
83
  )
84
 
85
  # Update the file_output component with the list of output files