-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When trying to display a gr.Chatbot in the same row as other components using gr.Row() in gradio versions 6.1.0 and above, demo.load() runs indefinitely. This does not happen in gradio<=6.0.2.
You can also reproduce the issue in this Google Colab notebook:
https://colab.research.google.com/drive/14YBzOZVZu-gVIrEPPpGyMGJ1PQNYOlIT
Have you searched existing issues? 🔎
- I have searched and found no existing issues
Reproduction
Minimal reproducible example:
import gradio as gr
with gr.Blocks() as demo:
with gr.Tab('Tab 1'):
with gr.Row():
gr.Chatbot()
with gr.Column():
gr.Slider()
gr.Slider()
gr.Slider()
with gr.Tab('Tab 2'):
textbox = gr.Textbox()
demo.load(
fn=lambda: 'some text',
inputs=None,
outputs=textbox,
)
demo.launch()Workarounds found:
- Placing the chatbot on its own row works:
with gr.Row():
gr.Chatbot()
with gr.Column():
gr.Slider()
...- Removing the second tab also resolves the issue.
Screenshot
Expected behavior:
Actual behavior:
Logs
* Running on local URL: http://127.0.0.1:7860
* To create a public link, set `share=True` in `launch()`.System Info
- Gradio version: >=6.1.0 (broken)
- Gradio version: <=6.0.2 (works)
- Python version: 3.12
- OS: Windows/LinuxSeverity
I can work around it
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working