Hammad712 commited on
Commit
50a15bb
·
verified ·
1 Parent(s): a11f225

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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(False, 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
 
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