awacke1 commited on
Commit
6a639d6
1 Parent(s): 98cb421

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +4 -1
main.py CHANGED
@@ -6,7 +6,10 @@ from transformers import pipeline
6
 
7
  app = FastAPI()
8
 
9
- pipe_flan = pipeline("text2text-generation", model="google/flan-t5-small")
 
 
 
10
 
11
  @app.get("/infer_t5")
12
  def t5(input):
 
6
 
7
  app = FastAPI()
8
 
9
+ #pipe_flan = pipeline("text2text-generation", model="google/flan-t5-small")
10
+ pipe_flan = pipeline("text2text-generation", model="google/flan-t5-large")
11
+ #Try large rather than small? google/flan-t5-small
12
+
13
 
14
  @app.get("/infer_t5")
15
  def t5(input):