aimal-khan commited on
Commit
16f93cc
·
verified ·
1 Parent(s): 54b692c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -116,7 +116,6 @@ with gr.Blocks() as demo:
116
  # Wire it up
117
  def on_convert(file, fmt):
118
  output_file, output_filename = convert(file, fmt)
119
- out.update(value=output_file, visible=True, file_name=output_filename) # Update file name and make visible
120
  return output_file # Return file path for download
121
 
122
  btn.click(on_convert, inputs=[inp, fmt], outputs=out)
 
116
  # Wire it up
117
  def on_convert(file, fmt):
118
  output_file, output_filename = convert(file, fmt)
 
119
  return output_file # Return file path for download
120
 
121
  btn.click(on_convert, inputs=[inp, fmt], outputs=out)