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

官方提供的api文档里面的示例无法成功运行 #68

Open
forjone opened this issue Dec 4, 2024 · 4 comments
Open

官方提供的api文档里面的示例无法成功运行 #68

forjone opened this issue Dec 4, 2024 · 4 comments
Labels
Answered Answered the question

Comments

@forjone
Copy link

forjone commented Dec 4, 2024

使用官方的api文档里面的接口,但是无法生成图片,都是提示session not found。
是否是文档提供的有问题
image

@lawrence-cj
Copy link
Collaborator

Where is the api document you talked about?

@forjone
Copy link
Author

forjone commented Dec 6, 2024

Where is the api document you talked about?

This one
image

@lawrence-cj
Copy link
Collaborator

Seems the run one is correct. Why are you using the update_inference_count one? BTW, this is the official API document from gradio, not us.

@forjone
Copy link
Author

forjone commented Dec 6, 2024

似乎run那个是正确的。你为什么要用那个update_inference_count?顺便说一句,这是官方的 API 文档gradio,不是我们的。
Alright, thank you. Previously, I wasn’t aware that this wasn’t your API documentation. The initial image I provided was incorrect. The actual result should be as follows: I called the /run endpoint, but it returned the message:
event: error
data: "404: Session not found."

image
image

@lawrence-cj lawrence-cj added the Answered Answered the question label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Answered Answered the question
Projects
None yet
Development

No branches or pull requests

2 participants