Deevyankar commited on
Commit
a6faa13
·
verified ·
1 Parent(s): 8e6dd39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ def compare_handouts(old_pdf_bytes, new_pdf_bytes, lo_file_bytes, lo_filename):
107
  return summary_output, lo_output, stats, chart
108
 
109
  iface = gr.Interface(
110
- fn=lambda old_pdf, new_pdf, lo_file: compare_handouts(old_pdf, new_pdf, lo_file, lo_file.name),
111
  inputs=[
112
  gr.File(label="📤 Old Handout PDF", type="binary"),
113
  gr.File(label="📥 New Handout PDF", type="binary"),
 
107
  return summary_output, lo_output, stats, chart
108
 
109
  iface = gr.Interface(
110
+ fn=lambda old_pdf, new_pdf, lo_file: compare_handouts(old_pdf, new_pdf, lo_file, "learning_outcomes.docx"),
111
  inputs=[
112
  gr.File(label="📤 Old Handout PDF", type="binary"),
113
  gr.File(label="📥 New Handout PDF", type="binary"),