Spaces:
Running
Running
meghanaraok
commited on
Commit
•
d3b613b
1
Parent(s):
4dfb7eb
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ def predict_icd(text_input, model_name, label_count):
|
|
94 |
data['text'] = text_input
|
95 |
text = data["text"].tolist()
|
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]
|
|
|
94 |
data['text'] = text_input
|
95 |
text = data["text"].tolist()
|
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]
|