Skip to content

Commit 6496138

Browse files
committed
Update quality estimation endpoint
1 parent 3631962 commit 6496138

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modernmt/modernmt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def me(self):
233233

234234
def qe(self, source, target, sentence, translation):
235235
data = {"source": source, "target": target, "sentence": sentence, "translation": translation}
236-
res = self.__send("get", "/qe", data=data)
236+
res = self.__send("get", "/translate/qe", data=data)
237237

238238
if not isinstance(res, list):
239239
return QualityEstimation(res)

0 commit comments

Comments
 (0)