Update app.py
Browse files
app.py
CHANGED
@@ -17,13 +17,17 @@ 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.
|
21 |
label="Start Date",
|
|
|
22 |
value=default_start_date.strftime("%Y-%m-%d"),
|
|
|
23 |
),
|
24 |
-
gr.
|
25 |
label="End Date",
|
|
|
26 |
value=default_end_date.strftime("%Y-%m-%d"),
|
|
|
27 |
)
|
28 |
],
|
29 |
outputs=gr.Textbox(label="Generated Release Notes"),
|
|
|
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"),
|