Saachi-S123 commited on
Commit
05b6d6e
·
verified ·
1 Parent(s): a990171

fixed spelling and 8 ball bug

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import gradio as gr
2
- from huggingface_hub improt InferenceClient
3
 
4
  client = InterfaceClient("HuggingFaceH$/zephyr-7b-beta")
5
 
@@ -19,7 +19,7 @@ def respond(message, history):
19
 
20
  return response['choices'][0]['message']['content'].strip()
21
 
22
- chatbot = gr.ChatInterface(respond_magic_eight_ball, type="messages")
23
  chatbot.launch()
24
 
25
 
 
1
  import gradio as gr
2
+ from huggingface_hub import InferenceClient
3
 
4
  client = InterfaceClient("HuggingFaceH$/zephyr-7b-beta")
5
 
 
19
 
20
  return response['choices'][0]['message']['content'].strip()
21
 
22
+ chatbot = gr.ChatInterface(respond, type="messages")
23
  chatbot.launch()
24
 
25