faizee07 commited on
Commit
a314f1b
·
verified ·
1 Parent(s): c7e050a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -162,7 +162,7 @@ def generate_readme_with_llm(repo_path):
162
  try:
163
  print("Step 5: Sending request to Gemini API...")
164
  # --- Corrected the model name ---
165
- model = genai.GenerativeModel('gemini-1.5-flash')
166
 
167
  response = model.generate_content(prompt)
168
  print("Step 6: Received response from Gemini API.")
 
162
  try:
163
  print("Step 5: Sending request to Gemini API...")
164
  # --- Corrected the model name ---
165
+ model = genai.GenerativeModel('gemini-2.5-flash')
166
 
167
  response = model.generate_content(prompt)
168
  print("Step 6: Received response from Gemini API.")