소스 검색

测试GPU性能

罗俊辉 10 달 전
부모
커밋
f33e1492f3
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      applications/pipeline.py

+ 2 - 0
applications/pipeline.py

@@ -20,6 +20,7 @@ class LongArticlesPipeline(object):
         :return:
         """
         print("开始请求")
+        print(account_name)
         url = "http://localhost:6060/title_list"
         response = requests.request(
             "POST",
@@ -34,6 +35,7 @@ class LongArticlesPipeline(object):
             }
         )
         print(response.status_code)
+        print(response.text)
         print(response.json())
         return response.json()['title_list']