Spaces:
Sleeping
Sleeping
update fastapi package name
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from fastapi import FastAPI
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
app =
|
5 |
|
6 |
pipe = pipeline("text2text-generation", model="google/flan-t5-small")
|
7 |
|
|
|
1 |
from fastapi import FastAPI
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
app = FastAPI()
|
5 |
|
6 |
pipe = pipeline("text2text-generation", model="google/flan-t5-small")
|
7 |
|