Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -6,8 +6,8 @@ from transformers import pipeline # pipeline for inference
|
|
| 6 |
|
| 7 |
app = FastAPI()
|
| 8 |
|
| 9 |
-
|
| 10 |
-
pipe_flan = pipeline("text2text-generation", model="mithril-security/gpt-j-6B")
|
| 11 |
|
| 12 |
@app.get("/infer_t5")
|
| 13 |
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="mithril-security/gpt-j-6B")
|
| 11 |
|
| 12 |
@app.get("/infer_t5")
|
| 13 |
def t5(input):
|