CoolFace
Apppublic

gabramschool/AI-MOBA-Gaming-Chatbot

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
App README

๐ŸŽฎ MOBA Gaming Assistant

Your personalized coach for MOBA games โ€” League of Legends, DOTA 2, and Mobile Legends.

This Streamlit app provides real-time, domain-specific coaching powered by both Google Gemini and open-source large language models (via Hugging Face). It adapts its expertise to each MOBA title, ensuring accurate, complete, and contextual game advice.


๐Ÿš€ Features

โœ… Multi-model backend:

  • โ€”Gemini 2.5 Flash (Google) โ€“ for fast and creative reasoning
  • โ€”Mistral 7B Instruct, Llama 3 8B, and Qwen 2.5 7B โ€“ open-source models via Hugging Face

โœ… Domain-specific AI coaches:

  • โ€”๐Ÿง  SummonerAI โ€” League of Legends coach
  • โ€”๐Ÿ”ฎ OracleAI โ€” DOTA 2 mentor
  • โ€”โšก MLBB Mentor โ€” Mobile Legends strategist

โœ… Intuitive UI:

  • โ€”Sidebar model & game selector (non-typable dropdowns)
  • โ€”Adjustable temperature and max token sliders
  • โ€”Chat history viewer (ChatGPT-style interface)
  • โ€”Transcript download (๐Ÿ“ฅ Download Transcript)
  • โ€”Built-in summary generator powered by Gemini
  • โ€”Full session reset (๐Ÿ”„ Reset Chat) clears chat + summary

โœ… Deployment ready for Hugging Face Spaces


๐Ÿ”‘ Setup

๐Ÿงฉ Environment Variables

Add the following repository secrets in your Hugging Face Space:

NameDescriptionRequired
GEMINI_API_KEYYour Google Gemini API key (for Gemini backend)โœ… Yes
HF_TOKENYour Hugging Face Access Token (for open-source models)โœ… Yes

Example .env file (for local use):

bash
GEMINI_API_KEY=your_gemini_api_key_here
HF_TOKEN=your_huggingface_token_here