1MR commited on
Commit
e0cc80a
·
verified ·
1 Parent(s): b9f3123

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ from pydantic import BaseModel
8
  app = FastAPI()
9
 
10
  # Initialize the text generation pipeline
11
- pipe = pipeline("text2text-generation", model="google/flan-t5-small")
12
 
13
  @app.middleware("http")
14
  async def log_requests(request: Request, call_next):
 
8
  app = FastAPI()
9
 
10
  # Initialize the text generation pipeline
11
+ pipe = pipeline("text-generation", model="microsoft/Phi-3.5-mini-instruct", trust_remote_code=True)
12
 
13
  @app.middleware("http")
14
  async def log_requests(request: Request, call_next):