Spaces:
Running
Running
download gradio for comparison
Browse files
README.md
CHANGED
@@ -5,7 +5,7 @@ emoji: ⚡
|
|
5 |
colorFrom: red
|
6 |
colorTo: purple
|
7 |
sdk: gradio
|
8 |
-
sdk_version:
|
9 |
app_file: app.py
|
10 |
pinned: false
|
11 |
header: mini
|
|
|
5 |
colorFrom: red
|
6 |
colorTo: purple
|
7 |
sdk: gradio
|
8 |
+
sdk_version: 4.44.0
|
9 |
app_file: app.py
|
10 |
pinned: false
|
11 |
header: mini
|
app.py
CHANGED
@@ -5,6 +5,7 @@ from datetime import datetime, timedelta
|
|
5 |
from typing import Union, List
|
6 |
from author_leaderboard_tab import author_leaderboard_tab
|
7 |
from author_leaderboard_contrib_tab import author_resource_leaderboard_tab
|
|
|
8 |
|
9 |
# Initialize the PaperCentral class instance
|
10 |
paper_central_df = PaperCentral()
|
@@ -35,7 +36,8 @@ with gr.Blocks(css="style.css") as demo:
|
|
35 |
type="datetime",
|
36 |
label="Select a date",
|
37 |
info="Click the calendar icon to bring up the calendar.",
|
38 |
-
value=datetime.
|
|
|
39 |
)
|
40 |
|
41 |
# Create a row for Hugging Face options and Conference options
|
|
|
5 |
from typing import Union, List
|
6 |
from author_leaderboard_tab import author_leaderboard_tab
|
7 |
from author_leaderboard_contrib_tab import author_resource_leaderboard_tab
|
8 |
+
from zoneinfo import ZoneInfo # Available in Python 3.9 and later
|
9 |
|
10 |
# Initialize the PaperCentral class instance
|
11 |
paper_central_df = PaperCentral()
|
|
|
36 |
type="datetime",
|
37 |
label="Select a date",
|
38 |
info="Click the calendar icon to bring up the calendar.",
|
39 |
+
value=datetime.now(ZoneInfo('America/Los_Angeles')).strftime('%Y-%m-%d')
|
40 |
+
# Default to today's date in PST
|
41 |
)
|
42 |
|
43 |
# Create a row for Hugging Face options and Conference options
|