浏览代码

测试GPU性能

罗俊辉 10 月之前
父节点
当前提交
930a88c361
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      applications/pipeline.py

+ 2 - 0
applications/pipeline.py

@@ -19,6 +19,7 @@ class LongArticlesPipeline(object):
         :param index_list:
         :return:
         """
+        print("开始请求")
         url = "http://localhost:6060/title_list"
         response = requests.request(
             "POST",
@@ -32,6 +33,7 @@ class LongArticlesPipeline(object):
                 "msg_type": "9"
             }
         )
+        print(response.status_code)
         print(response.json())
         return response.json()['title_list']