mit-han-lab / TinyChatEngine

TinyChatEngine: On-Device LLM Inference Library
https://mit-han-lab.github.io/TinyChatEngine/
MIT License
624 stars 58 forks source link

Create httpchat.cc #69

Open omjee opened 9 months ago

omjee commented 9 months ago

trying to create http service using this change in ReadME brew install cpp-httplib

===need this change in makefile as well HTTP_TARGET = httpchat

Rule for HTTP_TARGET

$(HTTP_TARGET): %: application/%.cc $(OBJS) $(CXX) $(CXXFLAGS) $(INCLUDE_DIRS) -o $@ $^ $(LIB) $(LDFLAGS)

to compile

make -j httpchat

RaymondWang0 commented 9 months ago

Hi @omjee, thanks for the PR! Would you mind updating the necessary files like Makefile and README directly? Once you've made all the changes, I'll be glad to help review them, and then merge them in if everything's good. Thanks!

omjee commented 9 months ago

Hi @omjee, thanks for the PR! Would you mind updating the necessary files like Makefile and README directly? Once you've made all the changes, I'll be glad to help review them, and then merge them in if everything's good. Thanks!

Thank you, i have update those files and committed here