Not working with Tabs

#1
by annading - opened

I've found that if the videogallery is created in a tab, only the first tab will render, the others will be unclickable. For instance, if you have two tabs in the block, no matter which tab the videogallery is placed in, the subsequent tabs aren't accessible.

Any ideas as to what this might be caused by?

import gradio as gr
from gradio_videogallery import videogallery

with gr.Blocks() as demo:
with gr.Tab("Heading"):
gr.Markdown("Testing")
with gr.Tab("Video Gallery"):
videogallery(label="videos", height=750)

demo.launch()

Owner

Hi Annading, Sorry about this issue. It seems like this is a bug in the component. I might not get to fixing this soon. But you can always take a look at the source code, and clone/try to fix this. https://github.com/gradio-app/custom-components/tree/main/videogallery

dawood changed discussion status to closed

Sign up or log in to comment