Spaces:
Build error
Build error
Update main.py
Browse files
main.py
CHANGED
@@ -6,8 +6,8 @@ from transformers import pipeline
|
|
6 |
|
7 |
app = FastAPI()
|
8 |
|
9 |
-
|
10 |
-
pipe_flan = pipeline("text2text-generation", model="google/flan-t5-large")
|
11 |
#Try large rather than small? google/flan-t5-small
|
12 |
|
13 |
|
|
|
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 |
|