Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ async def get_response(thread_id: int):
|
|
130 |
|
131 |
|
132 |
@app.post('/api/chat')
|
133 |
-
async def chat(request: Request
|
134 |
data = await request.json()
|
135 |
prompt = data.get('prompt')
|
136 |
|
|
|
130 |
|
131 |
|
132 |
@app.post('/api/chat')
|
133 |
+
async def chat(request: Request):
|
134 |
data = await request.json()
|
135 |
prompt = data.get('prompt')
|
136 |
|