Spaces:
Running
Running
Kirubel Mehari commited on
Commit ·
6d7025e
1
Parent(s): b13d14a
Remove examples and fix gr.Image sources kwarg
Browse files
app.py
CHANGED
|
@@ -86,7 +86,7 @@ with gr.Blocks(
|
|
| 86 |
image_input = gr.Image(
|
| 87 |
type="filepath",
|
| 88 |
label="Input Image",
|
| 89 |
-
|
| 90 |
)
|
| 91 |
run_btn = gr.Button("⚡ Generate 3D Splat", variant="primary", size="lg")
|
| 92 |
|
|
@@ -94,12 +94,6 @@ with gr.Blocks(
|
|
| 94 |
file_output = gr.File(label="Download .ply file", visible=True)
|
| 95 |
status_output = gr.Markdown("")
|
| 96 |
|
| 97 |
-
gr.Examples(
|
| 98 |
-
examples=[["data/teaser.jpg"]],
|
| 99 |
-
inputs=image_input,
|
| 100 |
-
label="Try the sample image"
|
| 101 |
-
)
|
| 102 |
-
|
| 103 |
run_btn.click(
|
| 104 |
fn=generate_splat,
|
| 105 |
inputs=image_input,
|
|
|
|
| 86 |
image_input = gr.Image(
|
| 87 |
type="filepath",
|
| 88 |
label="Input Image",
|
| 89 |
+
,
|
| 90 |
)
|
| 91 |
run_btn = gr.Button("⚡ Generate 3D Splat", variant="primary", size="lg")
|
| 92 |
|
|
|
|
| 94 |
file_output = gr.File(label="Download .ply file", visible=True)
|
| 95 |
status_output = gr.Markdown("")
|
| 96 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
run_btn.click(
|
| 98 |
fn=generate_splat,
|
| 99 |
inputs=image_input,
|