Sadmo commited on
Commit
a820ec4
·
verified ·
1 Parent(s): 998e8e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -22,8 +22,7 @@ def respond(message, history):
22
  ):
23
  token = messages.choices[0].delta.content
24
  response += token
25
-
26
- yield response['choices'][0]['message']['content'].strip()
27
 
28
  chatbot = gr.ChatInterface(respond, type = "messages", title = "SadhanaGPT for KWK", theme = gr.themes.Glass(), examples = ["How's the weather today?", "Who won the match?", "Is the sky green?"])
29
 
 
22
  ):
23
  token = messages.choices[0].delta.content
24
  response += token
25
+ yield response['choices'][0]['message']['content'].strip()
 
26
 
27
  chatbot = gr.ChatInterface(respond, type = "messages", title = "SadhanaGPT for KWK", theme = gr.themes.Glass(), examples = ["How's the weather today?", "Who won the match?", "Is the sky green?"])
28