Commit
·
1f751b9
1
Parent(s):
ccb6afe
fix: update date range in interface to show last 7 days
Browse files- interface.py +2 -2
interface.py
CHANGED
@@ -203,8 +203,8 @@ def create_interface():
|
|
203 |
with gr.Row():
|
204 |
with gr.Column():
|
205 |
with gr.Row():
|
206 |
-
start_date = gr.Textbox(label="Start Date", placeholder="YYYY-MM-DD", value=str(Date() + (-
|
207 |
-
end_date = gr.Textbox(label="End Date", placeholder="YYYY-MM-DD", value=str(Date()
|
208 |
with gr.Column():
|
209 |
with gr.Row():
|
210 |
today_btn = gr.Button("Today")
|
|
|
203 |
with gr.Row():
|
204 |
with gr.Column():
|
205 |
with gr.Row():
|
206 |
+
start_date = gr.Textbox(label="Start Date", placeholder="YYYY-MM-DD", value=str(Date() + (-7)))
|
207 |
+
end_date = gr.Textbox(label="End Date", placeholder="YYYY-MM-DD", value=str(Date()))
|
208 |
with gr.Column():
|
209 |
with gr.Row():
|
210 |
today_btn = gr.Button("Today")
|