gradio-app / gradio

Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
http://www.gradio.app
Apache License 2.0
32.22k stars 2.41k forks source link

Guide 05_chatbots is inconsistent about whether it calls `demo.queue()` #9009

Open malcolmsharpe opened 1 month ago

malcolmsharpe commented 1 month ago

Describe the bug

In the guide "Chatbots", section "How to Create a Custom Chatbot with Gradio Blocks", subsection "Add Streaming to your Chatbot", the example code is inconsistent with the text about whether demo.queue() is called:

Have you searched existing issues? 🔎

Reproduction

Since this is a documentation bug, reproduction is N/A. Here is the applicable documentation source.

Screenshot

No response

Logs

No response

System Info

Since is a documentation bug, system info is N/A.

Severity

I can work around it

abidlabs commented 1 month ago

As of Gradio 4.0, queueing is enabled by default, so you no longer need to include it. We'll need to update the Guide. Would you like to open a PR @malcolmsharpe?

malcolmsharpe commented 1 month ago

Thanks for the clarification.

Would you like to open a PR @malcolmsharpe?

I am brand new to Gradio, so I would not feel confident writing documentation at this point.