rag / README.md
Deepak Sahu
library issue fix
5a2f725
|
raw
history blame
920 Bytes
---
title: Rag
emoji: 🐢
colorFrom: gray
colorTo: indigo
sdk: gradio
sdk_version: 5.12.0
app_file: app.py
pinned: false
short_description: Just another rag but with Images 🖼️
python_version: "3.11"
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
## Local Debug
Highly recommend VS Code, makes life easy.
1. Create Virtual environment with name `sb-rag` using the below command
`python -m venv sb-rag`
2. Activate the environemnt (create new terminal VS Code to automatically do so)
3. Edit `.vscode/launch.json`. Fill in the environment variable `HF_SERVERLESS_API`.
4. Start VS Code debugger.
## References
1. UI Blocks Concepts: https://huggingface.co/learn/nlp-course/en/chapter9/7
2. UI Row-Column Arrangement: https://www.gradio.app/guides/controlling-layout
3. Show caption in image gallery: https://github.com/gradio-app/gradio/issues/3364