Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -66,10 +66,7 @@ def download_report():
|
|
66 |
def bot(history):
|
67 |
bot_message = sales_agent._call({})
|
68 |
history[-1][1] = ""
|
69 |
-
|
70 |
-
history[-1][1] += character
|
71 |
-
time.sleep(0.05)
|
72 |
-
yield history
|
73 |
summarizer = Summarizer()
|
74 |
sentiment = SentimentAnalyzer()
|
75 |
|
|
|
66 |
def bot(history):
|
67 |
bot_message = sales_agent._call({})
|
68 |
history[-1][1] = ""
|
69 |
+
return history
|
|
|
|
|
|
|
70 |
summarizer = Summarizer()
|
71 |
sentiment = SentimentAnalyzer()
|
72 |
|