Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Wassim
/
public-custom-search
like
1
Runtime error
App
Files
Files
Community
f660ffc
public-custom-search
/
app.py
Wassim
Update app.py
723b078
12 months ago
raw
Copy download link
history
blame
Safe
211 Bytes
import
os
import
gradio
as
gr
read_key = os.environ.get(
'hf_space_api_key'
,
None
)
with
gr.Blocks()
as
demo:
gr.load(
"Wassim/custom-search-bar"
, hf_token=read_key, src=
"spaces"
)
demo.launch(max_threads=
10
)