提交 cc7cb774 编写于 作者: M MRXLT

fix bug for imdb demo

上级 b5806e4f
......@@ -29,7 +29,7 @@ class IMDBService(WebService):
if "words" not in feed:
exit(-1)
res_feed = {}
res_feed["words"] = self.dataset.get_words_only(feed["words"])[0]
res_feed["words"] = self.dataset.get_words_only(feed["words"])
return res_feed, fetch
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册