Post
2446
I've built a custom component that integrates Rerun web viewer with Gradio, making it easier to share your demos as Gradio apps.
Basic snippet
More details here radames/gradio_rerun
Source https://github.com/radames/gradio-rerun-viewer
Follow Rerun here https://huggingface.co/rerun
Basic snippet
# pip install gradio_rerun gradio
import gradio as gr
from gradio_rerun import Rerun
gr.Interface(
inputs=gr.File(file_count="multiple", type="filepath"),
outputs=Rerun(height=900),
fn=lambda file_path: file_path,
).launch()
More details here radames/gradio_rerun
Source https://github.com/radames/gradio-rerun-viewer
Follow Rerun here https://huggingface.co/rerun