Schmip commited on
Commit
b36f811
·
verified ·
1 Parent(s): cdb681c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,7 +3,8 @@ from transformers import pipeline
3
 
4
  app = FastAPI()
5
 
6
- pipe = pipeline("text2text", model="google/flan-t5-base")
 
7
 
8
  @app.get("/")
9
  def home():
 
3
 
4
  app = FastAPI()
5
 
6
+ pipe = pipeline("text2text-generation", model="google/flan-t5-small")
7
+ #pipe = pipeline("text-generation", model="Kooten/Kunoichi-DPO-v2-7B-8bpw-exl2")
8
 
9
  @app.get("/")
10
  def home():