Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ async def get_bot_response(adapter_id, prompt, state, bot_index):
|
|
108 |
}
|
109 |
async with aiohttp.ClientSession() as session:
|
110 |
try:
|
111 |
-
async with session.post("https://serving.app.predibase.com/79957f/deployments/v2/llms/mistral-7b
|
112 |
json=payload, headers=headers, timeout=30) as response:
|
113 |
if response.status == 200:
|
114 |
response_data = await response.json()
|
|
|
108 |
}
|
109 |
async with aiohttp.ClientSession() as session:
|
110 |
try:
|
111 |
+
async with session.post("https://serving.app.predibase.com/79957f/deployments/v2/llms/mistral-7b/generate",
|
112 |
json=payload, headers=headers, timeout=30) as response:
|
113 |
if response.status == 200:
|
114 |
response_data = await response.json()
|