Ali Abdullah
commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,14 +1,51 @@
|
|
| 1 |
---
|
| 2 |
title: AI Chatbot File Web Image Audio
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
colorTo: pink
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 5.34.2
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
| 11 |
-
short_description:
|
| 12 |
---
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
title: AI Chatbot File Web Image Audio
|
| 3 |
+
emoji: π€
|
| 4 |
+
colorFrom: indigo
|
| 5 |
colorTo: pink
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 5.34.2
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
| 11 |
+
short_description: AI Chatbot with RAG β Ask from File, Web, Image, or Audio
|
| 12 |
---
|
| 13 |
|
| 14 |
+
# π§ AI Chatbot with File, Web, OCR & Audio (Gradio + Groq)
|
| 15 |
+
|
| 16 |
+
A multimodal AI assistant that can answer questions using content from:
|
| 17 |
+
- π Uploaded `.txt`, `.pdf`, `.docx`, `.csv` files
|
| 18 |
+
- π Any website URL (RAG)
|
| 19 |
+
- πΌοΈ Images (OCR with Tesseract)
|
| 20 |
+
- π§ Audio files (transcription with Whisper)
|
| 21 |
+
|
| 22 |
+
---
|
| 23 |
+
|
| 24 |
+
## π Features
|
| 25 |
+
|
| 26 |
+
- Chat with files (PDF, DOCX, TXT, CSV)
|
| 27 |
+
- Extract info from websites
|
| 28 |
+
- Perform OCR on images
|
| 29 |
+
- Transcribe audio to text
|
| 30 |
+
- Keeps file and URL-specific chat history
|
| 31 |
+
|
| 32 |
+
---
|
| 33 |
+
|
| 34 |
+
## π οΈ Tech Stack
|
| 35 |
+
|
| 36 |
+
- [Gradio UI](https://gradio.app)
|
| 37 |
+
- [Groq LLaMA 3](https://groq.com/)
|
| 38 |
+
- [Tesseract OCR](https://github.com/tesseract-ocr)
|
| 39 |
+
- [OpenAI Whisper](https://github.com/openai/whisper)
|
| 40 |
+
- [FastAPI backend](https://fastapi.tiangolo.com/) (if used locally)
|
| 41 |
+
|
| 42 |
+
---
|
| 43 |
+
|
| 44 |
+
## π¦ How to Run Locally
|
| 45 |
+
|
| 46 |
+
```bash
|
| 47 |
+
git clone https://github.com/your-username/your-repo.git
|
| 48 |
+
cd your-repo
|
| 49 |
+
pip install -r requirements.txt
|
| 50 |
+
uvicorn main:app --reload # FastAPI backend
|
| 51 |
+
python app.py # Gradio frontend
|