Update pipeline_http_client.py

the second test_img_dir assignment is not necessary:
after it is defined,  it's not modified. We can use it anyway.
pull/4917/head
bian.xie 2021-12-14 16:20:18 +08:00 committed by GitHub
parent 63cd23ab1c
commit f0077fe969
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -36,5 +36,4 @@ for idx, img_file in enumerate(os.listdir(test_img_dir)):
r = requests.post(url=url, data=json.dumps(data))
print(r.json())
test_img_dir = "../../doc/imgs/"
print("==> total number of test imgs: ", len(os.listdir(test_img_dir)))