bluenevus commited on
Commit
6f9ace4
·
verified ·
1 Parent(s): 6bd7229

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -10
app.py CHANGED
@@ -360,16 +360,6 @@ def update_output(contents, n_clicks, filename, url):
360
  else:
361
  return "Processing failed.", status_message, transcription_preview, True, True, True
362
 
363
- @app.callback(
364
- Output("download-transcription", "data"),
365
- Input("btn-download", "n_clicks"),
366
- prevent_initial_call=True,
367
- )
368
- def download_transcription(n_clicks):
369
- if n_clicks is None:
370
- return None
371
- return dcc.send_bytes(generated_file.getvalue(), "diarized_transcription.txt")
372
-
373
  if __name__ == '__main__':
374
  print("Starting the Dash application...")
375
  app.run(debug=True, host='0.0.0.0', port=7860)
 
360
  else:
361
  return "Processing failed.", status_message, transcription_preview, True, True, True
362
 
 
 
 
 
 
 
 
 
 
 
363
  if __name__ == '__main__':
364
  print("Starting the Dash application...")
365
  app.run(debug=True, host='0.0.0.0', port=7860)