Wassim commited on
Commit
723b078
1 Parent(s): 2172c06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,6 +4,6 @@ import gradio as gr
4
  read_key = os.environ.get('hf_space_api_key', None)
5
 
6
  with gr.Blocks() as demo:
7
- gr.Blocks.load("Wassim/custom-search-bar", src="spaces")
8
 
9
  demo.launch(max_threads=10)
 
4
  read_key = os.environ.get('hf_space_api_key', None)
5
 
6
  with gr.Blocks() as demo:
7
+ gr.load("Wassim/custom-search-bar", hf_token=read_key, src="spaces")
8
 
9
  demo.launch(max_threads=10)