Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ async def status():
|
|
69 |
logger.error(f"Status check failed: {e}")
|
70 |
raise HTTPException(status_code=500, detail=str(e))
|
71 |
|
72 |
-
@app.post("/
|
73 |
async def chat_completion(request: Request):
|
74 |
try:
|
75 |
data = await request.json()
|
|
|
69 |
logger.error(f"Status check failed: {e}")
|
70 |
raise HTTPException(status_code=500, detail=str(e))
|
71 |
|
72 |
+
@app.post("/generate")
|
73 |
async def chat_completion(request: Request):
|
74 |
try:
|
75 |
data = await request.json()
|