Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ from fastapi.responses import HTMLResponse
|
|
3 |
from fastapi.templating import Jinja2Templates
|
4 |
from chat import chat_conversations
|
5 |
import spacy
|
|
|
6 |
app = FastAPI()
|
7 |
|
8 |
templates = Jinja2Templates(directory="templates")
|
|
|
3 |
from fastapi.templating import Jinja2Templates
|
4 |
from chat import chat_conversations
|
5 |
import spacy
|
6 |
+
spacy.load("en_core_web_sm-3.7.1")
|
7 |
app = FastAPI()
|
8 |
|
9 |
templates = Jinja2Templates(directory="templates")
|