Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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:
|
| 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}
|