sofiafraga commited on
Commit
a309cb2
·
verified ·
1 Parent(s): 54243d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,5 +1,4 @@
1
  import gradio as gr
2
- import random
3
  import os
4
 
5
  from huggingface_hub import InferenceClient
@@ -23,6 +22,6 @@ def respond(message, history):
23
  return response['choices'][0]['message']['content'].strip()
24
 
25
 
26
- chatbot = gr.ChatInterface(respond, tupe="messages")
27
 
28
  chatbot.launch()
 
1
  import gradio as gr
 
2
  import os
3
 
4
  from huggingface_hub import InferenceClient
 
22
  return response['choices'][0]['message']['content'].strip()
23
 
24
 
25
+ chatbot = gr.ChatInterface(respond, type="messages")
26
 
27
  chatbot.launch()