Spaces:
Paused
Paused
Commit
·
ff2df59
1
Parent(s):
0765653
wider page layout
Browse files
app.py
CHANGED
|
@@ -4,22 +4,8 @@ Streamlit dashboard for the Dippy Roleplay Subnet Leaderboard
|
|
| 4 |
import requests
|
| 5 |
import streamlit as st
|
| 6 |
import pandas as pd
|
| 7 |
-
import base64
|
| 8 |
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
# Define the Streamlit dashboard
|
| 12 |
-
# make the column wide
|
| 13 |
-
st.markdown(
|
| 14 |
-
f"""
|
| 15 |
-
<style>
|
| 16 |
-
.reportview-container .main .block-container{{
|
| 17 |
-
max-width: 95%;
|
| 18 |
-
}}
|
| 19 |
-
</style>
|
| 20 |
-
""",
|
| 21 |
-
unsafe_allow_html=True,
|
| 22 |
-
)
|
| 23 |
|
| 24 |
|
| 25 |
def leaderboard_dashboard():
|
|
@@ -30,7 +16,7 @@ def leaderboard_dashboard():
|
|
| 30 |
st.markdown(
|
| 31 |
f"""
|
| 32 |
<div style="text-align: center;">
|
| 33 |
-
<img src="data:image/png;base64,{image}" alt="Dippy Roleplay Logo" width="
|
| 34 |
<h1 style="margin-top: 0;">SN11-Dippy-Roleplay Leaderboard</h1>
|
| 35 |
<div style="font-size: 18px;">This is the leaderboard for the Dippy validation API hosted by SN11.</div>
|
| 36 |
</div>
|
|
|
|
| 4 |
import requests
|
| 5 |
import streamlit as st
|
| 6 |
import pandas as pd
|
|
|
|
| 7 |
|
| 8 |
+
st. set_page_config(layout="wide")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
|
| 11 |
def leaderboard_dashboard():
|
|
|
|
| 16 |
st.markdown(
|
| 17 |
f"""
|
| 18 |
<div style="text-align: center;">
|
| 19 |
+
<img src="data:image/png;base64,{image}" alt="Dippy Roleplay Logo" width="600" height="300" style="margin-bottom: 2rem;">
|
| 20 |
<h1 style="margin-top: 0;">SN11-Dippy-Roleplay Leaderboard</h1>
|
| 21 |
<div style="font-size: 18px;">This is the leaderboard for the Dippy validation API hosted by SN11.</div>
|
| 22 |
</div>
|