an0nymous commited on
Commit
a65cf3c
·
verified ·
1 Parent(s): 6cbbaf1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -13,9 +13,7 @@ def display_table():
13
  return df
14
 
15
  # Tab 2
16
- size_df = pd.read_excel("./models.xlsx", sheet_name="Selected Models")
17
- size_df["Size"] = size_df["Size"].str.replace("b", "").astype(float)
18
- size_map = size_df.set_index("id")["Size"].to_dict()
19
  raw_data = pd.read_csv("./tagged_data.csv")
20
 
21
  def plot_scatter(cat, x, y, col):
 
13
  return df
14
 
15
  # Tab 2
16
+ size_map = json.load(open("size_map.json"))
 
 
17
  raw_data = pd.read_csv("./tagged_data.csv")
18
 
19
  def plot_scatter(cat, x, y, col):