faizee07 commited on
Commit
50fb4be
·
verified ·
1 Parent(s): 83fa536

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ def generate_readme_with_llm(repo_path):
120
  try:
121
  print("Step 5: Sending request to Gemini API...")
122
  # --- BUG FIX: Corrected the model name ---
123
- model = genai.GenerativeModel('gemini-pro')
124
 
125
  response = model.generate_content(prompt)
126
  print("Step 6: Received response from Gemini API.")
 
120
  try:
121
  print("Step 5: Sending request to Gemini API...")
122
  # --- BUG FIX: Corrected the model name ---
123
+ model = genai.GenerativeModel('gemini-1.0-pro')
124
 
125
  response = model.generate_content(prompt)
126
  print("Step 6: Received response from Gemini API.")