Spaces:
Sleeping
Sleeping
Upload 3 files
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ from fastapi import FastAPI
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Creat a new FastAPI app instance
|
5 |
-
app=FastAPI
|
6 |
|
7 |
pipe = pipeline("text2text-generation", model="google/flan-t5-small")
|
8 |
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Creat a new FastAPI app instance
|
5 |
+
app=FastAPI()
|
6 |
|
7 |
pipe = pipeline("text2text-generation", model="google/flan-t5-small")
|
8 |
|