Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,7 +58,7 @@ class TextInput(BaseModel):
|
|
| 58 |
|
| 59 |
@app.get("/")
|
| 60 |
def home():
|
| 61 |
-
return {"message": "Welcome! The server is running! Send a POST request to /predict please with "text" as argument."}
|
| 62 |
|
| 63 |
@app.post("/predict")
|
| 64 |
def predict(request: TextInput):
|
|
|
|
| 58 |
|
| 59 |
@app.get("/")
|
| 60 |
def home():
|
| 61 |
+
return {"message": "Welcome! The server is running! Send a POST request to /predict please with \"text\" as argument."}
|
| 62 |
|
| 63 |
@app.post("/predict")
|
| 64 |
def predict(request: TextInput):
|