Spaces:
Sleeping
Sleeping
Aleksandr Maiorov
commited on
Commit
·
f04979d
1
Parent(s):
2bf7b09
v0.3.0.1
Browse files
app.py
CHANGED
@@ -108,8 +108,8 @@ def send_to_telegram(message):
|
|
108 |
|
109 |
@app.get("/")
|
110 |
async def root():
|
111 |
-
send_to_telegram('aaaaaa hi hi hi')
|
112 |
return {"message": "Hello World"}
|
|
|
113 |
@app.post("/webhook")
|
114 |
async def predict(response):
|
115 |
# Генерация ответа с помощью модели
|
|
|
108 |
|
109 |
@app.get("/")
|
110 |
async def root():
|
|
|
111 |
return {"message": "Hello World"}
|
112 |
+
|
113 |
@app.post("/webhook")
|
114 |
async def predict(response):
|
115 |
# Генерация ответа с помощью модели
|