Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import pandas as pd
|
3 |
import matplotlib.pyplot as plt
|
4 |
-
|
5 |
from tqdm.auto import tqdm
|
6 |
|
7 |
# Load the CSV file into a DataFrame
|
@@ -11,10 +11,10 @@ df = pd.read_csv("sorted_results.csv") # Replace with the path to your CSV file
|
|
11 |
def display_table():
|
12 |
return df
|
13 |
|
14 |
-
#
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
raw_data = pd.read_csv("./tagged_data.csv")
|
19 |
|
20 |
def plot_scatter(cat, x, y, col):
|
|
|
1 |
import gradio as gr
|
2 |
import pandas as pd
|
3 |
import matplotlib.pyplot as plt
|
4 |
+
import seaborn as sns
|
5 |
from tqdm.auto import tqdm
|
6 |
|
7 |
# Load the CSV file into a DataFrame
|
|
|
11 |
def display_table():
|
12 |
return df
|
13 |
|
14 |
+
# Tab 2
|
15 |
+
size_df = pd.read_excel("./models.xlsx", sheet_name="Selected Models")
|
16 |
+
size_df["Size"] = size_df["Size"].str.replace("b", "").astype(float)
|
17 |
+
size_map = size_df.set_index("id")["Size"].to_dict()
|
18 |
raw_data = pd.read_csv("./tagged_data.csv")
|
19 |
|
20 |
def plot_scatter(cat, x, y, col):
|