Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -107,6 +107,3 @@ def predict(data: TextIn):
|
|
| 107 |
def root():
|
| 108 |
return {"message": "API is running"}
|
| 109 |
|
| 110 |
-
@app.post("/predict")
|
| 111 |
-
def predict(input: InputText):
|
| 112 |
-
return {"msg": "Received", "text": input.text}
|
|
|
|
| 107 |
def root():
|
| 108 |
return {"message": "API is running"}
|
| 109 |
|
|
|
|
|
|
|
|
|