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

lc-serve deploy local api is not working #110

Open
Dregn opened this issue Oct 26, 2023 · 3 comments
Open

lc-serve deploy local api is not working #110

Dregn opened this issue Oct 26, 2023 · 3 comments

Comments

@Dregn
Copy link

Dregn commented Oct 26, 2023

I have not used docker image.. followed steps in docker file. I was able to run app.py
but above command has is showing below error

c-serve deploy local api
⠋ Waiting gateway... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0/1 0:00:33ERROR gateway/rep-0@3784 AttributeError('pydantic_parent_namespace') during 'GatewayRuntime' [10/26/23 17:44:12]
initialization

@Dregn
Copy link
Author

Dregn commented Oct 26, 2023

I am using windows and python 3.11

@asrouji
Copy link

asrouji commented Oct 26, 2023

+1, same issue here

@bhaskatripathi
Copy link
Owner

Please use the original code. It works. LC-serve contributors are not active. So you will need to take the original code directly and use it. It works perfectly:
https://huggingface.co/spaces/bhaskartripathi/pdfGPT_Turbo/blob/main/app.py

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

3 participants