Miss-Jahnavi-2731/Telugu-Dialecto-Quiz
๐ฎ Dialecto Quiz โ Telugu Slang Edition
A fun and educational quiz web app built with Streamlit, designed to test and grow your knowledge of Telugu slang phrases. It also allows users to contribute their own phrases and uses Cohere AI to assist with auto-suggested meanings for new slang.
๐ Features
- ๐ง Randomized Quiz: Get 5 unique Telugu slang questions.
- โ๏ธ User Contributions: Submit your own slang phrases and meanings.
- ๐ค AI Integration: Auto-suggest slang meanings using Cohere AI.
- ๐ Data Storage: Stores phrases in JSON and logs submissions in CSV.
- ๐จ UI: Clean and fun interface with custom gradient design.
๐ฆ Tech Stack
PythonStreamlitPandasCohere AI APIJSONandCSVfor data handling
๐ฅ๏ธ Demo
๐ Try the live app: Live on huggingface spaces
๐ง How AI Integration Works
When users leave the "Meaning (in English)" field empty while contributing a phrase, Cohere AI intelligently generates a suggested English interpretation for that slang.
Example: ๐ฃ๏ธ Slang Phrase:thinnava๐ก Suggested Meaning:Have you eaten?
๐ Folder Structure
โโโ app.py # Main Streamlit app
โโโ phrases.json # Slang phrases and quiz data
โโโ submissions.csv # User-contributed slang
โโโ requirements.txt # Python dependencies
โโโ README.md # Project overview and setup instructions
โโโ REPORT.md # Detailed project report (final)
โโโ CHANGELOG.md # Development log of changes
โโโ CONTRIBUTING.md # Guidelines for contributors
โโโ LICENSE # Open source license
โโโ Home\_page.jpg # UI image used in appโ๏ธ Setup Instructions
๐ง 1. Clone the Repository
git clone https://code.swecha.org/Miss_Jahnavi04/telugu-dialecto-quiz.git
cd telugu-dialecto-quiz๐ 2. Create Virtual Environment (Optional but recommended)
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate๐ฆ 3. Install Dependencies
pip install -r requirements.txt๐ 4. Add Cohere API Key
Create a folder named .streamlit and a file inside it called secrets.toml:
mkdir .streamlit
touch .streamlit/secrets.tomlPaste the following into .streamlit/secrets.toml:
[cohere]
api_key = "crHAuAsKyg6Xh4ouqIXScYWSri0y6ucDrsEKYh9k"๐ You can get a free API key from Cohere.ai
โถ๏ธ 5. Run the App
streamlit run app.py๐ฅ Demo Video
๐น Coming soon... (Record demo showing AI usage + quiz)
โจ Contributors
- ๐ฉโ๐ป Jahnavi Guntuboina(Team Leader): Dividing the tasks, Checking deadlines and all.
- Nitish Kumar B: UX & Testing
- Sai Shashank Bejjanki: AI Integration
- Yashwanth Myakala: Deployment & Hugging Face
- Mukesh Chowdary Vinjam: Outreach & Corpus Growth
- ๐ Powered by Cohere
๐ License
This project is under the MIT License.
๐ฌ Have suggestions or slang to add?
Pull requests and contributions are welcome. Letโs grow the Telugu slang corpus together!
