dalinstone commited on
Commit
472c755
·
verified ·
1 Parent(s): 33c9ffd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -410,7 +410,7 @@ class GeminiGrader:
410
  EXAMPLE_PAPER=example_paper_text
411
  )
412
 
413
- prompt_with_essay = f"{GEMINI_PROMPT}\n{essay_text}"
414
  try:
415
  response = self.model.generate_content(prompt_with_essay)
416
  # Clean the response to ensure it's valid JSON
 
410
  EXAMPLE_PAPER=example_paper_text
411
  )
412
 
413
+ prompt_with_essay = f"{final_prompt}\n{essay_text}"
414
  try:
415
  response = self.model.generate_content(prompt_with_essay)
416
  # Clean the response to ensure it's valid JSON