mingbaer commited on
Commit
b67267d
·
verified ·
1 Parent(s): 29273b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
4
- client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
5
 
6
  def respond(message, history):
7
 
@@ -21,4 +21,4 @@ def respond(message, history):
21
 
22
  chatbot = gr.ChatInterface(respond, type="messages")
23
 
24
- chatbot.launch(share=True)
 
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
4
+ client = InferenceClient("HuggingFaceH4/zephyr-7b-beta", token = HF_Token)
5
 
6
  def respond(message, history):
7
 
 
21
 
22
  chatbot = gr.ChatInterface(respond, type="messages")
23
 
24
+ chatbot.launch(debug=True)