bluenevus commited on
Commit
669441a
·
verified ·
1 Parent(s): 9d6e6cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,7 +25,7 @@ def generate_release_notes(github_url, github_token, gemini_api_key, start_date,
25
 
26
  # Use Gemini AI to generate release notes
27
  genai.configure(api_key=gemini_api_key)
28
- model = genai.GenerativeModel('gemini-pro')
29
 
30
  prompt = f"""Based on the following commit messages, generate comprehensive release notes:
31
 
@@ -61,7 +61,7 @@ default_start_date = default_end_date - timedelta(days=7) # One week ago
61
  iface = gr.Interface(
62
  fn=generate_release_notes,
63
  inputs=[
64
- gr.Textbox(label="GitHub Repository URL", placeholder="https://github.com/username/repo.git"),
65
  gr.Textbox(label="GitHub Personal Access Token", type="password"),
66
  gr.Textbox(label="Gemini API Key", type="password"),
67
  gr.Textbox(
 
25
 
26
  # Use Gemini AI to generate release notes
27
  genai.configure(api_key=gemini_api_key)
28
+ model = genai.GenerativeModel('gemini-2.5-pro-preview-03-25')
29
 
30
  prompt = f"""Based on the following commit messages, generate comprehensive release notes:
31
 
 
61
  iface = gr.Interface(
62
  fn=generate_release_notes,
63
  inputs=[
64
+ gr.Textbox(label="GitHub Repository Name", placeholder="MicroHealthLLC/maiko-assistant"),
65
  gr.Textbox(label="GitHub Personal Access Token", type="password"),
66
  gr.Textbox(label="Gemini API Key", type="password"),
67
  gr.Textbox(