Spaces:
Runtime error
Runtime error
grosenthal
commited on
Commit
•
cdb1145
1
Parent(s):
9b62d45
fix imports
Browse files
app.py
CHANGED
@@ -14,7 +14,9 @@ from cltk.languages.utils import get_lang
|
|
14 |
from cltk.alphabet.processes import LatinNormalizeProcess
|
15 |
from cltk.nlp import NLP
|
16 |
from cltk.text.processes import DefaultPunctuationRemovalProcess
|
17 |
-
from fastapi import FastAPI
|
|
|
|
|
18 |
from typing import Optional
|
19 |
import json
|
20 |
from transformers import AutoTokenizer
|
|
|
14 |
from cltk.alphabet.processes import LatinNormalizeProcess
|
15 |
from cltk.nlp import NLP
|
16 |
from cltk.text.processes import DefaultPunctuationRemovalProcess
|
17 |
+
from fastapi import FastAPI
|
18 |
+
from fastapi.responses import FileResponse
|
19 |
+
from fastapi.staticfiles import StaticFiles
|
20 |
from typing import Optional
|
21 |
import json
|
22 |
from transformers import AutoTokenizer
|