Spaces:
Running
Running
Commit
·
a91c58a
1
Parent(s):
b538fd2
mod - remove git account infos
Browse files- app.py +0 -7
- app/__init__.py +1 -5
- app/backend/__init__.py +1 -5
- app/ui/__init__.py +0 -5
- app/ui/about.py +0 -6
- app/ui/component/__init__.py +1 -5
- app/ui/component/filter_component.py +0 -5
- app/ui/home.py +0 -7
- app/ui/static.py +0 -6
app.py
CHANGED
@@ -1,14 +1,8 @@
|
|
1 |
-
# -*- coding: utf-8 -*-
|
2 |
-
# @Date : 2024/12/24 16:59
|
3 |
-
# @Author : q275343119
|
4 |
-
# @File : app.py
|
5 |
-
# @Description: Main entry point for the application
|
6 |
from app.ui.home import init_home
|
7 |
from app.ui.about import init_about
|
8 |
|
9 |
import gradio as gr
|
10 |
|
11 |
-
|
12 |
home = init_home()
|
13 |
about = init_about()
|
14 |
|
@@ -18,4 +12,3 @@ demo = gr.TabbedInterface(
|
|
18 |
css="footer {display: none} .sort-button.svelte-1bvc1p0.svelte-1bvc1p0.svelte-1bvc1p0 {display: none;}"
|
19 |
)
|
20 |
demo.launch()
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
from app.ui.home import init_home
|
2 |
from app.ui.about import init_about
|
3 |
|
4 |
import gradio as gr
|
5 |
|
|
|
6 |
home = init_home()
|
7 |
about = init_about()
|
8 |
|
|
|
12 |
css="footer {display: none} .sort-button.svelte-1bvc1p0.svelte-1bvc1p0.svelte-1bvc1p0 {display: none;}"
|
13 |
)
|
14 |
demo.launch()
|
|
app/__init__.py
CHANGED
@@ -1,5 +1 @@
|
|
1 |
-
|
2 |
-
# @Date : 2024/12/24 17:13
|
3 |
-
# @Author : q275343119
|
4 |
-
# @File : __init__.py.py
|
5 |
-
# @Description:
|
|
|
1 |
+
|
|
|
|
|
|
|
|
app/backend/__init__.py
CHANGED
@@ -1,5 +1 @@
|
|
1 |
-
|
2 |
-
# @Date : 2024/12/24 17:16
|
3 |
-
# @Author : q275343119
|
4 |
-
# @File : __init__.py.py
|
5 |
-
# @Description: Backend module initialization
|
|
|
1 |
+
|
|
|
|
|
|
|
|
app/ui/__init__.py
CHANGED
@@ -1,5 +0,0 @@
|
|
1 |
-
# -*- coding: utf-8 -*-
|
2 |
-
# @Date : 2024/12/24 17:16
|
3 |
-
# @Author : q275343119
|
4 |
-
# @File : __init__.py.py
|
5 |
-
# @Description:
|
|
|
|
|
|
|
|
|
|
|
|
app/ui/about.py
CHANGED
@@ -1,9 +1,3 @@
|
|
1 |
-
# -*- coding: utf-8 -*-
|
2 |
-
# @Date : 2024/12/24 17:20
|
3 |
-
# @Author : q275343119
|
4 |
-
# @File : about.py
|
5 |
-
# @Description: About page implementation
|
6 |
-
|
7 |
import gradio as gr
|
8 |
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
|
app/ui/component/__init__.py
CHANGED
@@ -1,5 +1 @@
|
|
1 |
-
|
2 |
-
# @Date : 2024/12/24 17:25
|
3 |
-
# @Author : q275343119
|
4 |
-
# @File : __init__.py.py
|
5 |
-
# @Description:
|
|
|
1 |
+
|
|
|
|
|
|
|
|
app/ui/component/filter_component.py
CHANGED
@@ -1,8 +1,3 @@
|
|
1 |
-
# -*- coding: utf-8 -*-
|
2 |
-
# @Date : 2024/12/24 17:26
|
3 |
-
# @Author : q275343119
|
4 |
-
# @File : filter_component.py
|
5 |
-
# @Description: Filter component implementation
|
6 |
"""
|
7 |
Filter component for data filtering
|
8 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
"""
|
2 |
Filter component for data filtering
|
3 |
"""
|
app/ui/home.py
CHANGED
@@ -1,8 +1,3 @@
|
|
1 |
-
# -*- coding: utf-8 -*-
|
2 |
-
# @Date : 2024/12/24 17:20
|
3 |
-
# @Author : q275343119
|
4 |
-
# @File : home.py
|
5 |
-
# @Description: Home page implementation and UI components
|
6 |
import pandas as pd
|
7 |
|
8 |
from app.backend.constant import Navigation, TaskCategory, ModelProvider, EvaluationMetric
|
@@ -45,7 +40,6 @@ def init_home():
|
|
45 |
# df_area = DataFrameComponent(data_engine)
|
46 |
# df_display = df_area.show(pd.DataFrame(columns=[element.value for element in Navigation]))
|
47 |
|
48 |
-
|
49 |
gr.Markdown(f"""
|
50 |
- **Total Datasets**: {NUM_DATASETS}
|
51 |
- **Total Languages**: 113
|
@@ -78,6 +72,5 @@ def init_home():
|
|
78 |
outputs=columns
|
79 |
)
|
80 |
|
81 |
-
|
82 |
block.queue(max_size=10)
|
83 |
return block
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import pandas as pd
|
2 |
|
3 |
from app.backend.constant import Navigation, TaskCategory, ModelProvider, EvaluationMetric
|
|
|
40 |
# df_area = DataFrameComponent(data_engine)
|
41 |
# df_display = df_area.show(pd.DataFrame(columns=[element.value for element in Navigation]))
|
42 |
|
|
|
43 |
gr.Markdown(f"""
|
44 |
- **Total Datasets**: {NUM_DATASETS}
|
45 |
- **Total Languages**: 113
|
|
|
72 |
outputs=columns
|
73 |
)
|
74 |
|
|
|
75 |
block.queue(max_size=10)
|
76 |
return block
|
app/ui/static.py
CHANGED
@@ -1,9 +1,3 @@
|
|
1 |
-
# -*- coding: utf-8 -*-
|
2 |
-
# @Date : 2024/12/24 17:16
|
3 |
-
# @Author : q275343119
|
4 |
-
# @File : static.py
|
5 |
-
# @Description:
|
6 |
-
|
7 |
HOME_CSS = """
|
8 |
table > thead {
|
9 |
white-space: normal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
HOME_CSS = """
|
2 |
table > thead {
|
3 |
white-space: normal
|