Spaces:
Runtime error
Runtime error
fix, hopefuly
Browse files
app.py
CHANGED
|
@@ -18,6 +18,10 @@ import gradio as gr
|
|
| 18 |
from fastai.text.all import *
|
| 19 |
from nltk import tokenize
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
# %%
|
| 22 |
# model_pkl = "https://cloudstor.aarnet.edu.au/plus/s/rJzjZMk7ieZGsao/download"
|
| 23 |
# p = Path("./formality.pkl")
|
|
|
|
| 18 |
from fastai.text.all import *
|
| 19 |
from nltk import tokenize
|
| 20 |
|
| 21 |
+
|
| 22 |
+
import nltk
|
| 23 |
+
nltk.download("punkt")
|
| 24 |
+
|
| 25 |
# %%
|
| 26 |
# model_pkl = "https://cloudstor.aarnet.edu.au/plus/s/rJzjZMk7ieZGsao/download"
|
| 27 |
# p = Path("./formality.pkl")
|