argami commited on
Commit
67edaf3
·
1 Parent(s): 8b8b0d7
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -7,7 +7,5 @@ dotenv.load_dotenv()
7
  read_key = os.environ.get("HF_TOKEN", None)
8
 
9
  # the space is displayed, but does nothing
10
- with gr.Blocks() as demo:
11
- gr.load("argami/ba-chatbot", hf_token=read_key, src="spaces")
12
-
13
  demo.launch()
 
7
  read_key = os.environ.get("HF_TOKEN", None)
8
 
9
  # the space is displayed, but does nothing
10
+ demo = gr.load("argami/ba-chatbot", token=read_key, src="spaces")
 
 
11
  demo.launch()