Browse Source

测试GPU性能

罗俊辉 10 months ago
parent
commit
930a88c361
1 changed files with 2 additions and 0 deletions
  1. 2 0
      applications/pipeline.py

+ 2 - 0
applications/pipeline.py

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