ginchiee-bot / app.py

Commit History

29 days ago

  1. feat: switch to Postgres, add intent router and a warmer persona⁠

    1fcc069

  1. fix: register ZeroGPU callback with Gradio

    c968025
  2. fix: support ZeroGPU Space runtime

    4a1c368
  3. fix: run bot worker using official app.run_polling with dedicated loop and stop_signals=None

    a27e4b0
  4. fix: replace Gradio with pure Python http.server for stable HF Space hosting

    2ceaa55
  5. fix: add explicit main thread keep-alive loop to prevent container exit in HF Space

    9d1a72a
  6. fix: use async context manager for telegram bot to avoid signal/shutdown conflicts in HF Spaces

    8daa0fb
  7. fix: launch Gradio non-blocking and run Telegram bot on main thread

    68903fc
  8. fix: initialize asyncio event loop in background thread for telegram polling

    b729e4c
  9. fix: support BOT_TOKEN and TELEGRAM_BOT_TOKEN env vars and avoid port clash

    1e947e0
  10. feat: add Gradio entry point for Hugging Face free space

    5d658a8