Jack Monas commited on
Commit
ffaf105
·
1 Parent(s): fc9346e
Files changed (1) hide show
  1. app.py +44 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def scoring_section():
67
 
68
 
69
  def main():
70
- st.set_page_config(page_title="World Model Challenge")
71
 
72
  st.title("World Model Challenge")
73
  st.markdown("## Welcome")
@@ -139,6 +139,47 @@ def main():
139
  unsafe_allow_html=True
140
  )
141
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
  st.markdown("## FAQs")
143
 
144
  display_faq("Do I have to participate in all challenges?",
@@ -150,5 +191,7 @@ def main():
150
  display_faq("What are the submission deadlines?",
151
  "Deadlines for each challenge will be announced on the website.")
152
 
 
 
153
  if __name__ == '__main__':
154
  main()
 
67
 
68
 
69
  def main():
70
+ st.set_page_config(page_title="1X World Model Challenge")
71
 
72
  st.title("World Model Challenge")
73
  st.markdown("## Welcome")
 
139
  unsafe_allow_html=True
140
  )
141
 
142
+
143
+ # Inject custom CSS for the Rules section
144
+ st.markdown(
145
+ """
146
+ <style>
147
+ .rules-container {
148
+ background-color: #f0f0f0;
149
+ padding: 16px;
150
+ border-radius: 8px;
151
+ border: 1px solid #ccc;
152
+ margin-bottom: 20px;
153
+ }
154
+ .rules-container ul {
155
+ margin-left: 20px;
156
+ padding-left: 0;
157
+ }
158
+ .rules-container li {
159
+ margin-bottom: 8px;
160
+ font-size: 18px;
161
+ line-height: 1.4;
162
+ }
163
+ </style>
164
+ """,
165
+ unsafe_allow_html=True
166
+ )
167
+
168
+ # Use the custom container for the Rules section
169
+ st.markdown('<div class="rules-container">', unsafe_allow_html=True)
170
+ st.markdown("### Rules")
171
+ st.markdown(
172
+ """
173
+ - **Rule 1:** Submissions must adhere to the provided guidelines.
174
+ - **Rule 2:** Each team is allowed only one submission per challenge.
175
+ - **Rule 3:** All code must be original and properly documented.
176
+ - **Rule 4:** Late submissions will not be accepted.
177
+ """,
178
+ unsafe_allow_html=True
179
+ )
180
+ st.markdown('</div>', unsafe_allow_html=True)
181
+
182
+
183
  st.markdown("## FAQs")
184
 
185
  display_faq("Do I have to participate in all challenges?",
 
191
  display_faq("What are the submission deadlines?",
192
  "Deadlines for each challenge will be announced on the website.")
193
 
194
+
195
+
196
  if __name__ == '__main__':
197
  main()