陈俊杰 commited on
Commit
cd37723
1 Parent(s): 1fcc3f5
Files changed (2) hide show
  1. app.py +13 -2
  2. requirements.txt +1 -0
app.py CHANGED
@@ -1,6 +1,8 @@
1
  import streamlit as st
2
  from streamlit_option_menu import option_menu
3
  import pandas as pd
 
 
4
 
5
  # 设置页面标题和大标题
6
  st.set_page_config(page_title="AEOLLM", page_icon="👋")
@@ -119,7 +121,7 @@ Both the training set and the test set can be downloaded from the provided link:
119
  elif page == "Important Dates":
120
  st.header("Important Dates")
121
  st.markdown("""
122
- <p class='main-text>All deadlines are at 11:59pm in the Anywhere on Earth (AOE) timezone.</p><br />
123
  <span class='main-text'><strong>Kickoff Event</strong>:</span> <span class='main-text'>March 29, 2024</span><br />
124
  <span class='main-text'><strong>Dataset Release</strong>:</span> <span class='main-text'>May 1, 2024</span><br />
125
  <span class='main-text'><strong>Dry run Deadline</strong>:</span> <span class='main-text'>👉Jan 15, 2025</span><br />
@@ -175,7 +177,9 @@ elif page == "Submit":
175
  st.markdown("""
176
  Please organize the answers in a **txt** file, where each line includes: **taskId questionId answerId score rank**.
177
 
178
- Finally, name the file as **teamId_methods.txt** and submit it through the link below: [https://forms.gle/ctJD5tvZkYcCw7Kz9](https://forms.gle/ctJD5tvZkYcCw7Kz9)
 
 
179
  """)
180
  elif page == "LeaderBoard":
181
  st.header("LeaderBoard")
@@ -187,8 +191,15 @@ This leaderboard is used to show the performance of the <strong>automatic evalua
187
  <p class='main-text'>2. Text Expansion (TE)</p>
188
  <p class='main-text'>3. Summary Generation (SG)</p>
189
  <p class='main-text'>4. Non-Factoid QA (NFQA)</p>
 
190
  </p>
191
  """, unsafe_allow_html=True)
 
 
 
 
 
 
192
  # 创建示例数据
193
 
194
  # teamId 唯一标识码
 
1
  import streamlit as st
2
  from streamlit_option_menu import option_menu
3
  import pandas as pd
4
+ from datetime import datetime
5
+ import pytz
6
 
7
  # 设置页面标题和大标题
8
  st.set_page_config(page_title="AEOLLM", page_icon="👋")
 
121
  elif page == "Important Dates":
122
  st.header("Important Dates")
123
  st.markdown("""
124
+ <p class='main-text'>All deadlines are at 11:59pm in the Anywhere on Earth (AOE) timezone.</p><br />
125
  <span class='main-text'><strong>Kickoff Event</strong>:</span> <span class='main-text'>March 29, 2024</span><br />
126
  <span class='main-text'><strong>Dataset Release</strong>:</span> <span class='main-text'>May 1, 2024</span><br />
127
  <span class='main-text'><strong>Dry run Deadline</strong>:</span> <span class='main-text'>👉Jan 15, 2025</span><br />
 
177
  st.markdown("""
178
  Please organize the answers in a **txt** file, where each line includes: **taskId questionId answerId score rank**.
179
 
180
+ Finally, name the file as **teamId_methods.txt** and submit it through the link below: [https://forms.gle/ctJD5tvZkYcCw7Kz9](https://forms.gle/ctJD5tvZkYcCw7Kz9)
181
+
182
+ Each team can submit up to 5 times per day, and only the latest submission will be considered. The Leaderboard will be updated daily around 24:00 Beijing Time.
183
  """)
184
  elif page == "LeaderBoard":
185
  st.header("LeaderBoard")
 
191
  <p class='main-text'>2. Text Expansion (TE)</p>
192
  <p class='main-text'>3. Summary Generation (SG)</p>
193
  <p class='main-text'>4. Non-Factoid QA (NFQA)</p>
194
+ <p>The Leaderboard will be updated daily around 24:00 Beijing Time.</p>
195
  </p>
196
  """, unsafe_allow_html=True)
197
+ # 获取北京时间
198
+ beijing_tz = pytz.timezone('Asia/Beijing')
199
+ beijing_time = datetime.now(beijing_tz)
200
+
201
+ # 在页面上显示北京时间
202
+ st.write("Current Beijing Time:", beijing_time.strftime('%Y-%m-%d %H:%M:%S'))
203
  # 创建示例数据
204
 
205
  # teamId 唯一标识码
requirements.txt CHANGED
@@ -1,3 +1,4 @@
1
  pandas==2.2.2
 
2
  streamlit==1.34.0
3
  streamlit_option_menu==0.3.13
 
1
  pandas==2.2.2
2
+ pytz==2024.1
3
  streamlit==1.34.0
4
  streamlit_option_menu==0.3.13