m8chaa commited on
Commit
8268fa7
·
verified ·
1 Parent(s): b622537

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -99,7 +99,7 @@ async def upload_drive_document(request: Request):
99
 
100
  # Generate content using the model
101
  ai_response = model.generate_content(
102
- ["Provide answer sheet with the following property: 1. question number 2. correct answer", response]
103
  )
104
 
105
  return {"status": "success", "gemini_response": ai_response.text}
 
99
 
100
  # Generate content using the model
101
  ai_response = model.generate_content(
102
+ ["Provide answer sheet with the following property: {\"answer_sheet\": [{\"question_number\": \"1\", \"correct_answer\": \"B\"}]", response]
103
  )
104
 
105
  return {"status": "success", "gemini_response": ai_response.text}