memofy commited on
Commit
70315f4
·
verified ·
1 Parent(s): 2275548

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
3
 
4
  app = FastAPI()
5
 
6
- generator = pipeline("text-generation", model="tiiuae/falcon-rw-1b", max_length=300)
7
 
8
  @app.post("/gerar")
9
  async def gerar_historia(req: Request):
 
3
 
4
  app = FastAPI()
5
 
6
+ generator = pipeline("text-generation", model="pierreguillou/pt-gpt2-medium", max_length=300)
7
 
8
  @app.post("/gerar")
9
  async def gerar_historia(req: Request):