Update main.py
Browse files
main.py
CHANGED
@@ -260,7 +260,7 @@ def calculate_result(student_info, student_mcq, student_free, correct_answers):
|
|
260 |
async def process_pdfs(
|
261 |
student_pdf: UploadFile = File(...),
|
262 |
answer_key_pdf: UploadFile = File(...),
|
263 |
-
download: bool = Query(
|
264 |
):
|
265 |
try:
|
266 |
# Read student PDF bytes and convert to images
|
|
|
260 |
async def process_pdfs(
|
261 |
student_pdf: UploadFile = File(...),
|
262 |
answer_key_pdf: UploadFile = File(...),
|
263 |
+
download: bool = Query(True, description="Set to true to download result card list as a JSON file")
|
264 |
):
|
265 |
try:
|
266 |
# Read student PDF bytes and convert to images
|