Spaces:
Running
on
Zero
Running
on
Zero
pablovela5620
commited on
Upload gradio_app.py with huggingface_hub
Browse files- gradio_app.py +15 -0
gradio_app.py
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from instant_splat.gradio_ui.multi_img_ui import multi_img_block
|
2 |
+
import gradio as gr
|
3 |
+
|
4 |
+
title = "# Instant Splat"
|
5 |
+
description1 = """InstantSplat Demo using Rerun and Gradio"""
|
6 |
+
|
7 |
+
with gr.Blocks() as demo:
|
8 |
+
gr.Markdown(title)
|
9 |
+
gr.Markdown(description1)
|
10 |
+
with gr.Tab(label="Multi Image"):
|
11 |
+
multi_img_block.render()
|
12 |
+
|
13 |
+
if __name__ == "__main__":
|
14 |
+
demo.launch()
|
15 |
+
s
|