-
Notifications
You must be signed in to change notification settings - Fork 234
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
gradio test draft #1200
gradio test draft #1200
Conversation
@april-yyt I ran into the same issues when debugging on my machine. Perhaps we can look at the Ray Serve integration (https://docs.ray.io/en/latest/serve/tutorials/gradio-integration.html), they might have had to solve similar issues |
@april-yyt Do we still need this PR? Otherwise, I will close it. |
We don't need it anymore and feel free to close it, thanks! |
Description of changes:
Related Issues:
for example:
[would not work]
model = model_init()
def predict(message):
return model.generate(message)
[would work] but is not what we want since the model should only be initialized once
def predict(message):
model = model_init()
return model.generate(message)
Linked Issues:
Issues closed by this PR:
This change is