Spaces:
Sleeping
Sleeping
Aleksandr Maiorov
commited on
Commit
·
e00c1d6
1
Parent(s):
9b54956
v0.3.0.1
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ def generate_response(prompt: str) -> Optional[str]:
|
|
95 |
|
96 |
|
97 |
|
98 |
-
@app.post("/")
|
99 |
async def predict(response):
|
100 |
# Генерация ответа с помощью модели
|
101 |
logger.info('post/webhook -> response:')
|
|
|
95 |
|
96 |
|
97 |
|
98 |
+
@app.post("/webhook")
|
99 |
async def predict(response):
|
100 |
# Генерация ответа с помощью модели
|
101 |
logger.info('post/webhook -> response:')
|