Spaces:
Runtime error
Runtime error
Karthikeyan
commited on
Commit
•
9f885d8
1
Parent(s):
66a67d1
Update app.py
Browse files
app.py
CHANGED
@@ -209,8 +209,8 @@ class LangChain_Document_QA:
|
|
209 |
|
210 |
|
211 |
def _text_box(self,customer_emotion,customer_sentiment_score):
|
212 |
-
customer_score = ", ".join([f"{key}: {value:.2f}" for key, value in customer_sentiment_score.items()])
|
213 |
-
return f"customer_emotion:{customer_emotion}\nCustomer_sentiment_score:{
|
214 |
|
215 |
def _on_sentiment_btn_click(self):
|
216 |
client=self._history_of_chat()
|
|
|
209 |
|
210 |
|
211 |
def _text_box(self,customer_emotion,customer_sentiment_score):
|
212 |
+
#customer_score = ", ".join([f"{key}: {value:.2f}" for key, value in customer_sentiment_score.items()])
|
213 |
+
return f"customer_emotion:{customer_emotion}\nCustomer_sentiment_score:{customer_sentiment_score}"
|
214 |
|
215 |
def _on_sentiment_btn_click(self):
|
216 |
client=self._history_of_chat()
|