Ali Abdullah
Update README.md
b6dd802 verified
---
title: AI Chatbot File Web Image Audio
emoji: πŸ€–
colorFrom: indigo
colorTo: pink
sdk: gradio
sdk_version: 5.34.2
app_file: app.py
pinned: false
license: mit
short_description: AI Chatbot using RAG from Files, URLs, Images & Audio
---
# 🧠 AI Chatbot with File, Web, Image & Audio Support (Gradio + Groq)
A multimodal AI assistant powered by Groq's LLaMA 3 that can answer questions using:
- πŸ“„ Uploaded documents (`.txt`, `.pdf`, `.docx`, `.csv`)
- 🌐 Any public website URL (RAG retrieval)
- πŸ–ΌοΈ Images via OCR (Tesseract)
- 🎧 Audio files via transcription (Whisper)
---
## πŸš€ Features
- Chat with files (PDF, DOCX, TXT, CSV)
- Question answering from website content
- OCR-based text extraction from images
- Speech-to-text from audio recordings
- Maintains separate history for File & URL chat sessions
---
## πŸ› οΈ Tech Stack
- [Gradio](https://gradio.app) β€” User Interface
- [FastAPI](https://fastapi.tiangolo.com/) β€” API Backend
- [Groq API](https://groq.com/) β€” LLaMA 3 inference
- [Tesseract OCR](https://github.com/tesseract-ocr) β€” Image text extraction
- [Whisper](https://github.com/openai/whisper) β€” Audio transcription
---
## πŸ“¦ How to Run Locally
```bash
git clone https://github.com/your-username/your-repo.git
cd your-repo
# Install dependencies
pip install -r requirements.txt
# Start FastAPI backend
uvicorn main:app --reload
# Run Gradio frontend
python app.py