소스 검색

测试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']