Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def query(payload):
|
|
14 |
return response.json(), response
|
15 |
|
16 |
|
17 |
-
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 name or address from documents, use named entity recognition from token classification task. To build voice enabled applications, you can use automatic speech recognition. You can retrieve information from documents using sentence similarity models. You can summarize papers using summarization models. You can convert text to speech using text-to-speech task. To detect language spoken in an audio, you can use audio classification task. To detect emotion in an audio, you can use audio classification task. To detect commands in an audio, you can use audio classification task. To decompose sounds in a recording, use audio-to-audio task. To answer questions from a document, you can use question answering task. To answer FAQs from your customers, you can use question answering. To see if a text is grammatically correct, you can use text classification. To augment your training data, you can use text classification. For pedestrian detection, you can use object detection."
|
18 |
|
19 |
|
20 |
link_dict = {
|
|
|
14 |
return response.json(), response
|
15 |
|
16 |
|
17 |
+
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 name or address from documents, use named entity recognition from token classification task. To extract name or address from invoices, use named entity recognition from token classification task. To build voice enabled applications, you can use automatic speech recognition. You can retrieve information from documents using sentence similarity models. You can summarize papers using summarization models. You can convert text to speech using text-to-speech task. To detect language spoken in an audio, you can use audio classification task. To detect emotion in an audio, you can use audio classification task. To detect commands in an audio, you can use audio classification task. To decompose sounds in a recording, use audio-to-audio task. To answer questions from a document, you can use question answering task. To answer FAQs from your customers, you can use question answering. To see if a text is grammatically correct, you can use text classification. To augment your training data, you can use text classification. For pedestrian detection, you can use object detection."
|
18 |
|
19 |
|
20 |
link_dict = {
|