init
Browse files
app.py
CHANGED
|
@@ -61,9 +61,6 @@ async def startup_event():
|
|
| 61 |
# Start the bot in a separate thread to prevent blocking
|
| 62 |
threading.Thread(target=start_bot).start()
|
| 63 |
|
| 64 |
-
# Start the alive script in a separate thread
|
| 65 |
-
threading.Thread(target=lambda: Popen(["python", "alive.py"])).start()
|
| 66 |
-
|
| 67 |
@app.get("/", response_class=HTMLResponse)
|
| 68 |
async def read_root(request: Request):
|
| 69 |
endpoints = get_ngrok_tunnels()
|
|
|
|
| 61 |
# Start the bot in a separate thread to prevent blocking
|
| 62 |
threading.Thread(target=start_bot).start()
|
| 63 |
|
|
|
|
|
|
|
|
|
|
| 64 |
@app.get("/", response_class=HTMLResponse)
|
| 65 |
async def read_root(request: Request):
|
| 66 |
endpoints = get_ngrok_tunnels()
|