Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def query(payload):
|
|
19 |
context = "To extract information from documents, use sentence similarity task. To do sentiment analysis from tweets, use text classification task. To detect masks from images, use object detection task. To extract information from invoices, use named entity recognition from token classification task."
|
20 |
|
21 |
|
22 |
-
message_history = [{"text":"Let's find out the best task for your use case! Tell me about your use case :)", is_user
|
23 |
|
24 |
|
25 |
for msg in message_history:
|
|
|
19 |
context = "To extract information from documents, use sentence similarity task. To do sentiment analysis from tweets, use text classification task. To detect masks from images, use object detection task. To extract information from invoices, use named entity recognition from token classification task."
|
20 |
|
21 |
|
22 |
+
message_history = [{"text":"Let's find out the best task for your use case! Tell me about your use case :)", "is_user":False}]
|
23 |
|
24 |
|
25 |
for msg in message_history:
|