Spaces:
Sleeping
Sleeping
ateetvatan
commited on
Commit
·
845f0c7
1
Parent(s):
62d49a1
added default route
Browse files
app.py
CHANGED
@@ -34,6 +34,9 @@ class PromptRequest(BaseModel):
|
|
34 |
class ChatResponse(BaseModel):
|
35 |
response: str
|
36 |
|
|
|
|
|
|
|
37 |
|
38 |
@app.get("/status")
|
39 |
async def status():
|
|
|
34 |
class ChatResponse(BaseModel):
|
35 |
response: str
|
36 |
|
37 |
+
@app.get("/")
|
38 |
+
def root():
|
39 |
+
return {"message": "MASX OpenChat API is running"}
|
40 |
|
41 |
@app.get("/status")
|
42 |
async def status():
|