Spaces:
Runtime error
Runtime error
Commit
·
affce81
1
Parent(s):
b8eb1ab
English-Malayalam Translate v18
Browse files
main.py
CHANGED
@@ -9,7 +9,7 @@ from transformers import pipeline
|
|
9 |
app = FastAPI()
|
10 |
templates = Jinja2Templates(directory="templates")
|
11 |
|
12 |
-
pipe_flan = pipeline("translation_xx_to_en", model="google/
|
13 |
|
14 |
@app.get("/infer_t5")
|
15 |
def t5(input):
|
|
|
9 |
app = FastAPI()
|
10 |
templates = Jinja2Templates(directory="templates")
|
11 |
|
12 |
+
pipe_flan = pipeline("translation_xx_to_en", model="google/flan-t5-base")
|
13 |
|
14 |
@app.get("/infer_t5")
|
15 |
def t5(input):
|