mtom365's picture
Add Space app linked to official VOID demo
40aeeed
raw
history blame contribute delete
509 Bytes
import gradio as gr
def build_fallback_app() -> gr.Blocks:
with gr.Blocks(title="VOID Runner") as demo:
gr.Markdown(
"""
# VOID Runner
This Space is linked to the public VOID demo:
https://huggingface.co/spaces/sam-motamed/VOID
If the embedded app is unavailable, open the link above directly.
"""
)
return demo
try:
demo = gr.load("sam-motamed/VOID", src="spaces")
except Exception:
demo = build_fallback_app()
if __name__ == "__main__":
demo.launch()