Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
JeffreyXiang
commited on
Commit
•
ec95891
1
Parent(s):
3a3297a
Add TRELLIS
Browse files- app.py +5 -1
- app_trellis.py +10 -0
app.py
CHANGED
@@ -26,6 +26,7 @@ from app_together import demo as demo_together
|
|
26 |
from app_xai import demo as demo_grok
|
27 |
from app_showui import demo as demo_showui
|
28 |
from app_omini import demo as demo_omini
|
|
|
29 |
|
30 |
with gr.Blocks(fill_height=True) as demo:
|
31 |
with gr.Tab("Gemini"):
|
@@ -122,7 +123,10 @@ with gr.Blocks(fill_height=True) as demo:
|
|
122 |
with gr.Tab("NVIDIA"):
|
123 |
demo_nvidia.render()
|
124 |
gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
|
125 |
-
|
|
|
|
|
|
|
126 |
|
127 |
if __name__ == "__main__":
|
128 |
demo.queue(api_open=False).launch(show_api=False)
|
|
|
26 |
from app_xai import demo as demo_grok
|
27 |
from app_showui import demo as demo_showui
|
28 |
from app_omini import demo as demo_omini
|
29 |
+
from app_trellis import demo as demo_trellis
|
30 |
|
31 |
with gr.Blocks(fill_height=True) as demo:
|
32 |
with gr.Tab("Gemini"):
|
|
|
123 |
with gr.Tab("NVIDIA"):
|
124 |
demo_nvidia.render()
|
125 |
gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
|
126 |
+
with gr.Tab("TRELLIS"):
|
127 |
+
demo_trellis.render()
|
128 |
+
gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
|
129 |
+
|
130 |
|
131 |
if __name__ == "__main__":
|
132 |
demo.queue(api_open=False).launch(show_api=False)
|
app_trellis.py
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
# Load the Gradio space
|
4 |
+
demo = gr.load(name="JeffreyXiang/TRELLIS", src="spaces")
|
5 |
+
|
6 |
+
|
7 |
+
# Disable API access for all functions
|
8 |
+
if hasattr(demo, "fns"):
|
9 |
+
for fn in demo.fns.values():
|
10 |
+
fn.api_name = False
|