anychat / app_showui.py
akhaliq's picture
akhaliq HF staff
update
d14e17c
raw
history blame contribute delete
224 Bytes
import gradio as gr
# Load the Gradio space
demo = gr.load(name="showlab/ShowUI", src="spaces")
# Disable API access for all functions
if hasattr(demo, 'fns'):
for fn in demo.fns.values():
fn.api_name = False