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

Fix unexpected slow down in gradio web demo #707

Merged
merged 3 commits into from
Jul 5, 2023
Merged

Conversation

GoGoJoestar
Copy link
Contributor

Transforms model.generate(...) into a lazy iterator (generator) to support stream output.

@ymcui
Copy link
Owner

ymcui commented Jul 4, 2023

Please resolve the issues raised by Codacy check.

@GoGoJoestar
Copy link
Contributor Author

I have solved the issues raised by Codacy.

@ymcui ymcui changed the title fix: fix output speed too slow in gradio demo Fix unexpected slow down in gradio web demo Jul 5, 2023
@ymcui ymcui merged commit 4ef9477 into ymcui:main Jul 5, 2023
1 check passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants