提交 82a78c84 编写于 作者: littletomatodonkey's avatar littletomatodonkey

fix client

上级 db6d9816
......@@ -43,6 +43,5 @@ def predict(image_path, server):
if __name__ == "__main__":
server = "http://127.0.0.1:{}/image/prediction".format(sys.argv[1])
image_file = sys.argv[2]
while True:
res = predict(image_file, server)
print("res:", res)
res = predict(image_file, server)
print("res:", res)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册