Spaces:
Running
Running
updated status
Browse files
app.py
CHANGED
@@ -185,10 +185,9 @@ async def groqgenerate(json_data: Dict[str, Any]):
|
|
185 |
generate(json_data)
|
186 |
|
187 |
|
188 |
-
|
189 |
@app.get("/")
|
190 |
async def index():
|
191 |
-
return {"status": "ok"}
|
192 |
|
193 |
@app.post("/chat")
|
194 |
async def chat(request: ChatRequest):
|
|
|
185 |
generate(json_data)
|
186 |
|
187 |
|
|
|
188 |
@app.get("/")
|
189 |
async def index():
|
190 |
+
return {"status": "ok", "message": "Welcome to the Chipling API!", "version": "1.0", "routes": ["/chat", "/generate-modules", "/generate-topics"]}
|
191 |
|
192 |
@app.post("/chat")
|
193 |
async def chat(request: ChatRequest):
|