bluenevus commited on
Commit
b991deb
·
verified ·
1 Parent(s): f6cc677

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -624,6 +624,8 @@ def download_loe(n_clicks, loe_output):
624
  doc.save(buffer)
625
  return dcc.send_bytes(buffer.getvalue(), "loe_report.docx")
626
 
 
 
627
  @app.callback(
628
  Output('loe-output', 'children'),
629
  Input('generate-loe', 'n_clicks'),
 
624
  doc.save(buffer)
625
  return dcc.send_bytes(buffer.getvalue(), "loe_report.docx")
626
 
627
+ from dash import callback_context
628
+
629
  @app.callback(
630
  Output('loe-output', 'children'),
631
  Input('generate-loe', 'n_clicks'),