Commit
·
de3a317
1
Parent(s):
1090bad
punkt error
Browse files
app.py
CHANGED
|
@@ -2,6 +2,7 @@ import gradio as gr
|
|
| 2 |
import requests
|
| 3 |
from transformers import pipeline
|
| 4 |
import nltk
|
|
|
|
| 5 |
from nltk import sent_tokenize
|
| 6 |
from transformers import MBartForConditionalGeneration, MBart50TokenizerFast
|
| 7 |
from transformers import pipeline
|
|
|
|
| 2 |
import requests
|
| 3 |
from transformers import pipeline
|
| 4 |
import nltk
|
| 5 |
+
nltk.download('punkt')
|
| 6 |
from nltk import sent_tokenize
|
| 7 |
from transformers import MBartForConditionalGeneration, MBart50TokenizerFast
|
| 8 |
from transformers import pipeline
|