|
@@ -27,7 +27,7 @@ if __name__ == "__main__":
|
|
# parser.add_argument("--thread")
|
|
# parser.add_argument("--thread")
|
|
# args = parser.parse_args()
|
|
# args = parser.parse_args()
|
|
# thread = int(args.thread)
|
|
# thread = int(args.thread)
|
|
- dt = ["http://127.0.0.1:8000/title_to_video"]
|
|
|
|
|
|
+ dt = ["http://127.0.0.1:8111/title_to_video"]
|
|
# total_s = time.time()
|
|
# total_s = time.time()
|
|
request_data(dt[0])
|
|
request_data(dt[0])
|
|
# with ThreadPoolExecutor(max_workers=thread) as pool:
|
|
# with ThreadPoolExecutor(max_workers=thread) as pool:
|