Update app.py
Browse files
app.py
CHANGED
|
@@ -4,6 +4,7 @@ import requests
|
|
| 4 |
import io
|
| 5 |
import re
|
| 6 |
from PIL import Image
|
|
|
|
| 7 |
|
| 8 |
summarizer = pipeline("summarization", model="facebook/bart-large-cnn")
|
| 9 |
qa_model = pipeline("question-answering", model="deepset/bert-large-uncased-whole-word-masking-squad2")
|
|
|
|
| 4 |
import io
|
| 5 |
import re
|
| 6 |
from PIL import Image
|
| 7 |
+
from transformers import pipeline
|
| 8 |
|
| 9 |
summarizer = pipeline("summarization", model="facebook/bart-large-cnn")
|
| 10 |
qa_model = pipeline("question-answering", model="deepset/bert-large-uncased-whole-word-masking-squad2")
|