nos commited on
Commit
5cd4600
1 Parent(s): 5c525fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -45,9 +45,8 @@ def respond(
45
  token = message.choices[0].delta.content
46
 
47
  response += token
48
- #yield response
49
- return response
50
-
51
 
52
  def flip_text(x):
53
  return x[::-1]
 
45
  token = message.choices[0].delta.content
46
 
47
  response += token
48
+ yield response
49
+
 
50
 
51
  def flip_text(x):
52
  return x[::-1]