Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How to post to the uvicorn server #801

Open
YerongLi opened this issue Nov 14, 2023 · 2 comments
Open

[Question] How to post to the uvicorn server #801

YerongLi opened this issue Nov 14, 2023 · 2 comments

Comments

@YerongLi
Copy link

Question

After I started the controller and model workers, how I can POST and feed image and text into it?

Screenshot from 2023-11-13 21-36-50
Screenshot from 2023-11-13 21-36-43

@YerongLi
Copy link
Author

I am trying to do it with
curl -X POST -H "Content-Type: application/json" -d '{"text": "What is this?", "model":"llava-v1.5-13b"}' http://localhost:10000/worker_generate_stream --output "result.txt"

@459737087
Copy link

Hi! Did you solve it ? @YerongLi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants