Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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,
|
| 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"),
|