maahikachitagi commited on
Commit
d327900
·
verified ·
1 Parent(s): cea42eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -19,10 +19,7 @@ def respond(message, history):
19
  ):
20
  token = message.choices[0].delta.content
21
  response += token
22
-
23
-
24
-
25
- yield response["choices"][0]["message"]["content"].strip()
26
 
27
  def echo(message, history):
28
  choices = ["Without a doubt", "Ask again later","Yes, definitely","Don't count on it"]
 
19
  ):
20
  token = message.choices[0].delta.content
21
  response += token
22
+ yield response
 
 
 
23
 
24
  def echo(message, history):
25
  choices = ["Without a doubt", "Ask again later","Yes, definitely","Don't count on it"]