GiantPandas commited on
Commit
f7f88c1
·
verified ·
1 Parent(s): b395a9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def send_pdf_to_parse(file_path, server_ip, port, route="/upload", api_key=None)
67
 
68
  async def send_pdf_async_aiohttp(file_path, server_ip, route="/upload", Authorization=None):
69
  """使用aiohttp异步发送PDF"""
70
- url = f"http://{server_ip}:{port}{route}"
71
  headers = {}
72
  if Authorization:
73
  headers["Authorization"] = f"Bearer {Authorization}"
 
67
 
68
  async def send_pdf_async_aiohttp(file_path, server_ip, route="/upload", Authorization=None):
69
  """使用aiohttp异步发送PDF"""
70
+ url = f"{server_ip}{route}"
71
  headers = {}
72
  if Authorization:
73
  headers["Authorization"] = f"Bearer {Authorization}"