funnyPhani commited on
Commit
c117e65
·
verified ·
1 Parent(s): 2ed5e80

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from transformers import pipeline
5
  app=FastAPI()
6
 
7
  # Initialize the text generation pipeline
8
- pipe = pipeline("text2text-generation", model="TinyLlama/TinyLlama-1.1B-Chat-v1.0") # google/flan-t5-small
9
 
10
 
11
  @app.get("/")
 
5
  app=FastAPI()
6
 
7
  # Initialize the text generation pipeline
8
+ pipe = pipeline("text2text-generation", model="google/flan-t5-small") # google/flan-t5-small TinyLlama/TinyLlama-1.1B-Chat-v1.0
9
 
10
 
11
  @app.get("/")