Update app.py
Browse files
app.py
CHANGED
@@ -55,12 +55,8 @@ def load_model_norm():
|
|
55 |
@app.get("/", tags=["Home"])
|
56 |
async def api_home():
|
57 |
return {'detail': 'Welcome to Eren Bot!'}
|
58 |
-
|
59 |
-
@app.get("/")
|
60 |
-
async def read_root():
|
61 |
-
return {"message": "Welcome to Eren Bot!"}
|
62 |
-
|
63 |
|
|
|
64 |
# Endpoint to start a new conversation thread
|
65 |
@app.post('/api/start_conversation')
|
66 |
async def start_conversation(request: Request):
|
|
|
55 |
@app.get("/", tags=["Home"])
|
56 |
async def api_home():
|
57 |
return {'detail': 'Welcome to Eren Bot!'}
|
|
|
|
|
|
|
|
|
|
|
58 |
|
59 |
+
|
60 |
# Endpoint to start a new conversation thread
|
61 |
@app.post('/api/start_conversation')
|
62 |
async def start_conversation(request: Request):
|