Spaces:
Running
on
Zero
Running
on
Zero
Update
Browse files
app.py
CHANGED
|
@@ -1,7 +1,5 @@
|
|
| 1 |
#!/usr/bin/env python
|
| 2 |
|
| 3 |
-
import os
|
| 4 |
-
|
| 5 |
import gradio as gr
|
| 6 |
import torch
|
| 7 |
|
|
@@ -18,11 +16,6 @@ model = Model()
|
|
| 18 |
|
| 19 |
with gr.Blocks(css_paths="style.css") as demo:
|
| 20 |
gr.Markdown(DESCRIPTION)
|
| 21 |
-
gr.DuplicateButton(
|
| 22 |
-
value="Duplicate Space for private use",
|
| 23 |
-
elem_id="duplicate-button",
|
| 24 |
-
visible=os.getenv("SHOW_DUPLICATE_BUTTON") == "1",
|
| 25 |
-
)
|
| 26 |
with gr.Tabs():
|
| 27 |
with gr.Tab(label="Text to 3D"):
|
| 28 |
create_demo_text_to_3d(model)
|
|
|
|
| 1 |
#!/usr/bin/env python
|
| 2 |
|
|
|
|
|
|
|
| 3 |
import gradio as gr
|
| 4 |
import torch
|
| 5 |
|
|
|
|
| 16 |
|
| 17 |
with gr.Blocks(css_paths="style.css") as demo:
|
| 18 |
gr.Markdown(DESCRIPTION)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
with gr.Tabs():
|
| 20 |
with gr.Tab(label="Text to 3D"):
|
| 21 |
create_demo_text_to_3d(model)
|