dedlepexa commited on
Commit
7bf31c9
·
verified ·
1 Parent(s): 5e1435a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -60,6 +60,13 @@ def generate_ai_stream(message: str):
60
 
61
  return partial.strip()
62
 
 
 
 
 
 
 
 
63
 
64
  # 🔥 WORKER
65
  def worker():
 
60
 
61
  return partial.strip()
62
 
63
+ final_text = partial.strip() + " full generated"
64
+
65
+ if message in db:
66
+ db[message]["reply"] = final_text
67
+ db[message]["status"] = "done"
68
+
69
+ return final_text
70
 
71
  # 🔥 WORKER
72
  def worker():