Spaces:
Sleeping
Sleeping
COmmit on endpoint
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import uvicorn
|
|
| 6 |
app = FastAPI()
|
| 7 |
|
| 8 |
|
| 9 |
-
@app.
|
| 10 |
async def predict(id:str):
|
| 11 |
try:
|
| 12 |
print("Peticion recibida")
|
|
|
|
| 6 |
app = FastAPI()
|
| 7 |
|
| 8 |
|
| 9 |
+
@app.post("/predict/")
|
| 10 |
async def predict(id:str):
|
| 11 |
try:
|
| 12 |
print("Peticion recibida")
|