提交 d61f4c70 编写于 作者: M MRXLT

improve demo

上级 04bc0cdd
......@@ -17,7 +17,7 @@ import sys
import cv2
import base64
import numpy as np
from image_reader import ImageReader
from paddle_serving_app import ImageReader
class ImageService(WebService):
......
......@@ -17,7 +17,7 @@ import sys
import cv2
import base64
import numpy as np
from image_reader import ImageReader
from paddle_serving_app import ImageReader
class ImageService(WebService):
......
......@@ -29,7 +29,7 @@ class SentaService(WebService):
os.chdir('./lac_serving')
self.lac_port = self.port + 100
r = os.popen(
"GLOG_v=2 python -m paddle_serving_server.serve --model ../../lac/jieba_server_model/ --port {} &".
"python -m paddle_serving_server.serve --model ../../lac/jieba_server_model/ --port {} &".
format(self.lac_port))
os.chdir('..')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册