Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from transformers import pipeline
|
|
| 5 |
# Pipelines
|
| 6 |
qa_model = pipeline("question-answering", model="deepset/minilm-uncased-squad2")
|
| 7 |
code_model = pipeline("text-generation", model="Salesforce/codegen-350M-multi")
|
| 8 |
-
math_model = pipeline("
|
| 9 |
|
| 10 |
english_model = pipeline("text-classification", model="textattack/bert-base-uncased-CoLA")
|
| 11 |
|
|
|
|
| 5 |
# Pipelines
|
| 6 |
qa_model = pipeline("question-answering", model="deepset/minilm-uncased-squad2")
|
| 7 |
code_model = pipeline("text-generation", model="Salesforce/codegen-350M-multi")
|
| 8 |
+
math_model = pipeline("text2text-generation", model="google/flan-t5-base")
|
| 9 |
|
| 10 |
english_model = pipeline("text-classification", model="textattack/bert-base-uncased-CoLA")
|
| 11 |
|