Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,6 @@ app = FastAPI()
|
|
| 5 |
model = pipeline("text-classification", model="distilbert-base-uncased-finetuned-sst-2-english")
|
| 6 |
print("i am gherer enjoying ")
|
| 7 |
@app.post("/predict")
|
| 8 |
-
async def predict(
|
| 9 |
-
|
| 10 |
-
return {"prediction":
|
|
|
|
| 5 |
model = pipeline("text-classification", model="distilbert-base-uncased-finetuned-sst-2-english")
|
| 6 |
print("i am gherer enjoying ")
|
| 7 |
@app.post("/predict")
|
| 8 |
+
async def predict():
|
| 9 |
+
|
| 10 |
+
return {"prediction": "i am in lodhran "}
|