Spaces:
Sleeping
Sleeping
| # Use a pipeline as a high-level helper | |
| from transformers import pipeline | |
| # Initialize the pipeline | |
| pipe = pipeline("text-classification", model="FedericoDamboreana/chained_question_classification_es") | |
| sentence1 = 'how are you doing' | |
| sentence2 = 'that dog is black' | |
| print(pipe(sentence1)) | |
| print(pipe(sentence2)) | |