Spaces:
Sleeping
Sleeping
meghanaraok
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -96,7 +96,7 @@ def predict_icd(text_input, model_name, label_count):
|
|
96 |
|
97 |
model_path = "meghanaraok/"+model_name+"_"+label_count+"/"
|
98 |
#change
|
99 |
-
label_dict = pd.read_csv("
|
100 |
num_labels = label_dict.shape[0]
|
101 |
|
102 |
if model_name != "ClinicalLongformer":
|
|
|
96 |
|
97 |
model_path = "meghanaraok/"+model_name+"_"+label_count+"/"
|
98 |
#change
|
99 |
+
label_dict = pd.read_csv("data/mimic3/"+label_count+"/labels_dictionary_"+label_count+"_level_1.csv")
|
100 |
num_labels = label_dict.shape[0]
|
101 |
|
102 |
if model_name != "ClinicalLongformer":
|