Spaces:
Sleeping
Sleeping
Update mudabbirai-backend/main.py
Browse files
mudabbirai-backend/main.py
CHANGED
|
@@ -29,7 +29,7 @@ def read_root():
|
|
| 29 |
"""This root path is just for a health check."""
|
| 30 |
return {"status": "MudabbirAI Backend (root) is running."}
|
| 31 |
|
| 32 |
-
@app.post("/") # Blaxel routes requests from your trigger path to the app's root
|
| 33 |
async def solve_problem(request: ProblemRequest):
|
| 34 |
"""
|
| 35 |
This is our NON-STREAMING endpoint.
|
|
|
|
| 29 |
"""This root path is just for a health check."""
|
| 30 |
return {"status": "MudabbirAI Backend (root) is running."}
|
| 31 |
|
| 32 |
+
@app.post("/mudabbirai-solve") # Blaxel routes requests from your trigger path to the app's root
|
| 33 |
async def solve_problem(request: ProblemRequest):
|
| 34 |
"""
|
| 35 |
This is our NON-STREAMING endpoint.
|