Spaces:
Sleeping
Sleeping
trying to optimize the import of st_aggrid
Browse files- src/__init__.py +5 -1
- src/__pycache__/__init__.cpython-38.pyc +0 -0
- src/__pycache__/display.cpython-38.pyc +0 -0
- src/__pycache__/plot.cpython-38.pyc +0 -0
- src/display.py +8 -3
- src/plot.py +0 -1
src/__init__.py
CHANGED
@@ -1 +1,5 @@
|
|
1 |
-
# src/__init__.py
|
|
|
|
|
|
|
|
|
|
1 |
+
# src/__init__.py
|
2 |
+
# src/__init__.py
|
3 |
+
from .display import display_app
|
4 |
+
from .load_data import load_dataframe, sort_by
|
5 |
+
from .plot import plot_radar_chart_index, plot_radar_chart_name
|
src/__pycache__/__init__.cpython-38.pyc
CHANGED
Binary files a/src/__pycache__/__init__.cpython-38.pyc and b/src/__pycache__/__init__.cpython-38.pyc differ
|
|
src/__pycache__/display.cpython-38.pyc
CHANGED
Binary files a/src/__pycache__/display.cpython-38.pyc and b/src/__pycache__/display.cpython-38.pyc differ
|
|
src/__pycache__/plot.cpython-38.pyc
CHANGED
Binary files a/src/__pycache__/plot.cpython-38.pyc and b/src/__pycache__/plot.cpython-38.pyc differ
|
|
src/display.py
CHANGED
@@ -1,7 +1,12 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
from src.load_data import load_dataframe, sort_by
|
3 |
-
from src.plot import plot_radar_chart_index, plot_radar_chart_name
|
|
|
4 |
from st_aggrid import GridOptionsBuilder, AgGrid
|
|
|
|
|
|
|
|
|
5 |
|
6 |
def display_app():
|
7 |
st.markdown("# Open LLM Leaderboard Viz")
|
|
|
1 |
+
#import streamlit as st
|
2 |
+
#from src.load_data import load_dataframe, sort_by
|
3 |
+
#from src.plot import plot_radar_chart_index, plot_radar_chart_name
|
4 |
+
#from st_aggrid import GridOptionsBuilder, AgGrid
|
5 |
from st_aggrid import GridOptionsBuilder, AgGrid
|
6 |
+
import streamlit as st
|
7 |
+
from .load_data import load_dataframe, sort_by
|
8 |
+
from .plot import plot_radar_chart_index, plot_radar_chart_name
|
9 |
+
|
10 |
|
11 |
def display_app():
|
12 |
st.markdown("# Open LLM Leaderboard Viz")
|
src/plot.py
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
from src.load_data import load_dataframe
|
2 |
import plotly.graph_objects as go
|
3 |
import numpy as np
|
4 |
import pandas as pd
|
|
|
|
|
1 |
import plotly.graph_objects as go
|
2 |
import numpy as np
|
3 |
import pandas as pd
|