Open llmwesee opened 1 month ago
Hi, maybe the API and UI are using different options by default for which handlers (e.g. doctr, unstructured, OCR, vision, etc.) are used. Good to compare logs for each.
Note that the API and UI use the same code and use gradio's unified way of generating API from UI itself.
The documentation provides sample code for uploading a file from the client side through the
upload_api
. However, I have observed that uploading files through this API takes longer than uploading through the UI. I would like to know the reason for this discrepancy and how I can make the process faster. Also, if multiple clients send files through this API, how is this handled?