Update app.py
Browse files
app.py
CHANGED
@@ -15,10 +15,12 @@ target_models = {
|
|
15 |
"LGAI-EXAONE/EXAONE-3.5-7.8B-Instruct": "https://huggingface.co/LGAI-EXAONE/EXAONE-3.5-7.8B-Instruct",
|
16 |
"ginipick/flux-lora-eric-cat": "https://huggingface.co/ginipick/flux-lora-eric-cat",
|
17 |
"seawolf2357/flux-lora-car-rolls-royce": "https://huggingface.co/seawolf2357/flux-lora-car-rolls-royce",
|
18 |
-
|
19 |
"moreh/Llama-3-Motif-102B-Instruct": "https://huggingface.co/moreh/Llama-3-Motif-102B-Instruct",
|
20 |
-
|
21 |
-
|
|
|
|
|
|
|
22 |
|
23 |
"Saxo/Linkbricks-Horizon-AI-Korean-Gemma-2-sft-dpo-27B": "https://huggingface.co/Saxo/Linkbricks-Horizon-AI-Korean-Gemma-2-sft-dpo-27B",
|
24 |
"AALF/gemma-2-27b-it-SimPO-37K": "https://huggingface.co/AALF/gemma-2-27b-it-SimPO-37K",
|
@@ -653,10 +655,13 @@ def get_spaces_data(sort_type="trending", progress=gr.Progress()):
|
|
653 |
likes = [space.get('likes', 0) for space in spaces]
|
654 |
titles = [space.get('cardData', {}).get('title') or space.get('title', 'No Title') for space in spaces]
|
655 |
|
656 |
-
# λ§λ
|
|
|
|
|
|
|
657 |
fig.add_trace(go.Bar(
|
658 |
x=ids,
|
659 |
-
y=
|
660 |
text=[f"Rank: {r}<br>Title: {t}<br>Likes: {l}"
|
661 |
for r, t, l in zip(ranks, titles, likes)],
|
662 |
textposition='auto',
|
@@ -675,11 +680,12 @@ def get_spaces_data(sort_type="trending", progress=gr.Progress()):
|
|
675 |
xaxis_title='Space ID',
|
676 |
yaxis_title='Rank',
|
677 |
yaxis=dict(
|
678 |
-
autorange='reversed', # YμΆ λ°μ
|
679 |
tickmode='linear',
|
680 |
tick0=0,
|
681 |
dtick=20,
|
682 |
-
range=[0, 400]
|
|
|
|
|
683 |
),
|
684 |
height=800,
|
685 |
showlegend=False,
|
|
|
15 |
"LGAI-EXAONE/EXAONE-3.5-7.8B-Instruct": "https://huggingface.co/LGAI-EXAONE/EXAONE-3.5-7.8B-Instruct",
|
16 |
"ginipick/flux-lora-eric-cat": "https://huggingface.co/ginipick/flux-lora-eric-cat",
|
17 |
"seawolf2357/flux-lora-car-rolls-royce": "https://huggingface.co/seawolf2357/flux-lora-car-rolls-royce",
|
|
|
18 |
"moreh/Llama-3-Motif-102B-Instruct": "https://huggingface.co/moreh/Llama-3-Motif-102B-Instruct",
|
19 |
+
|
20 |
+
|
21 |
+
"NCSOFT/VARCO-VISION-14B": "https://huggingface.co/NCSOFT/VARCO-VISION-14B",
|
22 |
+
"NCSOFT/Llama-VARCO-8B-Instruct": "https://huggingface.co/NCSOFT/Llama-VARCO-8B-Instruct",
|
23 |
+
"NCSOFT/VARCO-VISION-14B-HF": "https://huggingface.co/NCSOFT/VARCO-VISION-14B-HF",
|
24 |
|
25 |
"Saxo/Linkbricks-Horizon-AI-Korean-Gemma-2-sft-dpo-27B": "https://huggingface.co/Saxo/Linkbricks-Horizon-AI-Korean-Gemma-2-sft-dpo-27B",
|
26 |
"AALF/gemma-2-27b-it-SimPO-37K": "https://huggingface.co/AALF/gemma-2-27b-it-SimPO-37K",
|
|
|
655 |
likes = [space.get('likes', 0) for space in spaces]
|
656 |
titles = [space.get('cardData', {}).get('title') or space.get('title', 'No Title') for space in spaces]
|
657 |
|
658 |
+
# λ§λ κΈΈμ΄λ₯Ό μμμ μμλ‘ κ³μ° (λμ μμ = κΈ΄ λ§λ)
|
659 |
+
y_values = [400 - r + 1 for r in ranks]
|
660 |
+
|
661 |
+
# λ§λ κ·Έλν μμ±
|
662 |
fig.add_trace(go.Bar(
|
663 |
x=ids,
|
664 |
+
y=y_values, # λ³νλ Yκ° μ¬μ©
|
665 |
text=[f"Rank: {r}<br>Title: {t}<br>Likes: {l}"
|
666 |
for r, t, l in zip(ranks, titles, likes)],
|
667 |
textposition='auto',
|
|
|
680 |
xaxis_title='Space ID',
|
681 |
yaxis_title='Rank',
|
682 |
yaxis=dict(
|
|
|
683 |
tickmode='linear',
|
684 |
tick0=0,
|
685 |
dtick=20,
|
686 |
+
range=[0, 400],
|
687 |
+
ticktext=[str(400-i) for i in range(0, 401, 20)], # μμ λ μ΄λΈ
|
688 |
+
tickvals=[i for i in range(0, 401, 20)], # λκΈ μμΉ
|
689 |
),
|
690 |
height=800,
|
691 |
showlegend=False,
|