Aadityaramrame commited on
Commit
3ddb40d
·
verified ·
1 Parent(s): 8369aab

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +1 -1
pipeline.py CHANGED
@@ -35,7 +35,7 @@ Return strictly as JSON key-value pairs.
35
  Document text:
36
  {raw_text}
37
  """
38
- model = genai.GenerativeModel("gemini-1.5-flash")
39
  print("Gemini API called successfully ✅")
40
  response = model.generate_content(prompt)
41
  try:
 
35
  Document text:
36
  {raw_text}
37
  """
38
+ model = genai.GenerativeModel("models/gemini-1.5-flash")
39
  print("Gemini API called successfully ✅")
40
  response = model.generate_content(prompt)
41
  try: