behnamsa commited on
Commit
0265bd2
1 Parent(s): fe36855

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +2 -1
pipeline.py CHANGED
@@ -15,7 +15,8 @@ class PreTrainedPipeline():
15
  self.id2h_path = path + "/id2h.json"
16
  self.stopwords_path = path + "/stopwords.txt"
17
  self.comparison_matrix_path = path + "/comparison_matrix.npz"
18
-
 
19
  self.t2id = json.load(open(self.t2id_path,encoding="utf8"))
20
  self.id2h = json.load(open(self.id2h_path,encoding="utf8"))
21
 
 
15
  self.id2h_path = path + "/id2h.json"
16
  self.stopwords_path = path + "/stopwords.txt"
17
  self.comparison_matrix_path = path + "/comparison_matrix.npz"
18
+
19
+ raise ValueError('NOOOOO!!!')
20
  self.t2id = json.load(open(self.t2id_path,encoding="utf8"))
21
  self.id2h = json.load(open(self.id2h_path,encoding="utf8"))
22