Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
akhaliq/anychat
mariamgvelesiani
/
anychat
like
0
Runtime error
App
Files
Files
Community
1f882e1
anychat
/
app_showui.py
akhaliq
HF staff
update
d14e17c
24 days ago
raw
Copy download link
history
blame
Safe
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