anychat / app_trellis.py
hysts's picture
hysts HF staff
apply pre-commit
7360ef0
raw
history blame
230 Bytes
import gradio as gr
# Load the Gradio space
demo = gr.load(name="JeffreyXiang/TRELLIS", src="spaces")
# Disable API access for all functions
if hasattr(demo, "fns"):
for fn in demo.fns.values():
fn.api_name = False