bluenevus commited on
Commit
8d5114f
·
verified ·
1 Parent(s): bd5de4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -428,6 +428,11 @@ def update_r_review_output(n_clicks, contents, filename, red_doc, requirements):
428
  compliance_report = evaluate_compliance(document, requirements)
429
  return dcc.Markdown(compliance_report)
430
 
 
 
 
 
 
431
  @app.callback(
432
  Output("download-shred-doc", "data"),
433
  Input("download-shred", "n_clicks"),
 
428
  compliance_report = evaluate_compliance(document, requirements)
429
  return dcc.Markdown(compliance_report)
430
 
431
+ def create_docx(content):
432
+ doc = Document()
433
+ doc.add_paragraph(content)
434
+ return doc
435
+
436
  @app.callback(
437
  Output("download-shred-doc", "data"),
438
  Input("download-shred", "n_clicks"),