Skip to content

Takes up the entire screen when used without any other component as input. #2

@02alexander

Description

@02alexander

When I have added a Rerun component to my layout but haven't yet added any inputs it will almost take up the entire screen and not appear where it should.
Screenshot_20240605_140725

import gradio as gr
from gradio_rerun import Rerun

with gr.Blocks() as app:
    with gr.Row():
        viewer = Rerun(streaming=True)
    with gr.Row():
        button = gr.Button()
app.launch()

If I had this line

button.click(lambda: None, inputs=[], outputs=[viewer])

it behaves as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions