Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
Duplicated from
akhaliq/anycoder
Highgroundbkk
/
anycoder
like
1
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
d3e483f
anycoder
/
app_showui.py
hysts
HF Staff
apply pre-commit
7360ef0
over 1 year 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