Spaces:
Sleeping
Sleeping
anmolmalik01
commited on
Commit
·
2633613
1
Parent(s):
bb91dd7
main.py
CHANGED
@@ -6,7 +6,7 @@ from transformers import pipeline
|
|
6 |
|
7 |
app = FastAPI()
|
8 |
|
9 |
-
pipe_flan = pipeline("
|
10 |
|
11 |
@app.get("/infer_t5")
|
12 |
def t5(input):
|
|
|
6 |
|
7 |
app = FastAPI()
|
8 |
|
9 |
+
pipe_flan = pipeline("summarization", model="Falconsai/text_summarization")
|
10 |
|
11 |
@app.get("/infer_t5")
|
12 |
def t5(input):
|