Update app.py
Browse files
app.py
CHANGED
@@ -744,9 +744,10 @@ with st.sidebar:
|
|
744 |
columns=["Contributor", "Spaces Rank", "Models Rank"]
|
745 |
)
|
746 |
ranking_data_overall.index = ranking_data_overall.index + 1 # Start index from 1 for ranking
|
747 |
-
|
748 |
st.dataframe(
|
749 |
ranking_data_overall,
|
|
|
750 |
column_config={
|
751 |
"Contributor": st.column_config.TextColumn("Contributor"),
|
752 |
"Spaces Rank": st.column_config.TextColumn("Spaces Rank"),
|
@@ -755,7 +756,7 @@ with st.sidebar:
|
|
755 |
use_container_width=True,
|
756 |
hide_index=False
|
757 |
)
|
758 |
-
|
759 |
with tab2:
|
760 |
# Show trending accounts by Spaces & Models
|
761 |
st.markdown('<div class="subheader"><h3>๐ Spaces Leaders</h3></div>', unsafe_allow_html=True)
|
|
|
744 |
columns=["Contributor", "Spaces Rank", "Models Rank"]
|
745 |
)
|
746 |
ranking_data_overall.index = ranking_data_overall.index + 1 # Start index from 1 for ranking
|
747 |
+
|
748 |
st.dataframe(
|
749 |
ranking_data_overall,
|
750 |
+
height=900, # ์ฝ 30ํ ์ ๋ ๋ณด์ด๋๋ก ํฝ์
๋จ์ ๋์ด ์ค์ (ํ์์ ๋ฐ๋ผ ์กฐ์ ๊ฐ๋ฅ)
|
751 |
column_config={
|
752 |
"Contributor": st.column_config.TextColumn("Contributor"),
|
753 |
"Spaces Rank": st.column_config.TextColumn("Spaces Rank"),
|
|
|
756 |
use_container_width=True,
|
757 |
hide_index=False
|
758 |
)
|
759 |
+
|
760 |
with tab2:
|
761 |
# Show trending accounts by Spaces & Models
|
762 |
st.markdown('<div class="subheader"><h3>๐ Spaces Leaders</h3></div>', unsafe_allow_html=True)
|