bluenevus commited on
Commit
fd0ca2d
·
verified ·
1 Parent(s): d265dc9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -7
app.py CHANGED
@@ -17,22 +17,20 @@ iface = gr.Interface(
17
  gr.Textbox(label="GitHub Repository URL (e.g., https://github.com/MicroHealthLLC/maiko-assistant.git)"),
18
  gr.Textbox(label="GitHub Personal Access Token", type="password"),
19
  gr.Textbox(label="Gemini API Key", type="password"),
20
- gr.Dropdown(
21
  label="Start Date",
22
- choices=[default_start_date.strftime("%Y-%m-%d")],
23
  value=default_start_date.strftime("%Y-%m-%d"),
24
- type="date",
25
  ),
26
- gr.Dropdown(
27
  label="End Date",
28
- choices=[default_end_date.strftime("%Y-%m-%d")],
29
  value=default_end_date.strftime("%Y-%m-%d"),
30
- type="date",
31
  )
32
  ],
33
  outputs=gr.Textbox(label="Generated Release Notes"),
34
  title="Automated Release Notes Generator",
35
- description="Generate release notes based on GitHub commits using Gemini AI. Select start and end dates to define the time range for commits.",
36
  allow_flagging="never",
37
  theme="default",
38
  analytics_enabled=False,
 
17
  gr.Textbox(label="GitHub Repository URL (e.g., https://github.com/MicroHealthLLC/maiko-assistant.git)"),
18
  gr.Textbox(label="GitHub Personal Access Token", type="password"),
19
  gr.Textbox(label="Gemini API Key", type="password"),
20
+ gr.Textbox(
21
  label="Start Date",
22
+ placeholder="YYYY-MM-DD",
23
  value=default_start_date.strftime("%Y-%m-%d"),
 
24
  ),
25
+ gr.Textbox(
26
  label="End Date",
27
+ placeholder="YYYY-MM-DD",
28
  value=default_end_date.strftime("%Y-%m-%d"),
 
29
  )
30
  ],
31
  outputs=gr.Textbox(label="Generated Release Notes"),
32
  title="Automated Release Notes Generator",
33
+ description="Generate release notes based on GitHub commits using Gemini AI. Enter start and end dates (YYYY-MM-DD) to define the time range for commits.",
34
  allow_flagging="never",
35
  theme="default",
36
  analytics_enabled=False,