Voffchik commited on
Commit
65a690d
·
verified ·
1 Parent(s): f90b116

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ from contextlib import asynccontextmanager
8
  @asynccontextmanager
9
  async def lifespan(app: FastAPI):
10
  global needModel
11
- needModel = pipeline("...")
12
  yield
13
 
14
  app = FastAPI(lifespan=lifespan)
 
8
  @asynccontextmanager
9
  async def lifespan(app: FastAPI):
10
  global needModel
11
+ needModel = pipeline("sentiment-analysis")
12
  yield
13
 
14
  app = FastAPI(lifespan=lifespan)