You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I take the steps according to the official document command
Firstly, I run it as an HTTP server with the command below
p2t serve -l en,ch_sim -H 0.0.0.0-p 8503
The output is below.
INFO: Started server process [21464]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8503 (Press CTRL+C to quit)
Secondly, I run the command below. Then, I saw the error Couldn't connect to server
(base) PS D:\Desktop> curl -X POST -F"file_type=page"-F"resized_shape=768"-F"embed_sep= $,$ "-F"isolated_sep=$$\n, \n$$"-F"image=@./1.jpg;type=image/jpeg" http://0.0.0.0:8503/pix2text
curl: (7) Failed to connect to 0.0.0.0 port 8503 after 0 ms: Couldn't connect to server
The text was updated successfully, but these errors were encountered:
Envrionment
Description
I take the steps according to the official document command
Firstly, I run it as an HTTP server with the command below
The output is below.
Secondly, I run the command below. Then, I saw the error
Couldn't connect to server
The text was updated successfully, but these errors were encountered: