Spaces:
Sleeping
Sleeping
metadata
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 🖼️
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Local Debug
Highly recommend VS Code, makes life easy.
Create Virtual environment with name
sb-rag
using the below commandpython -m venv sb-rag
Activate the environemnt (create new terminal VS Code to automatically do so)
Edit
.vscode/launch.json
. Fill in the environment variableHF_SERVERLESS_API
.Start VS Code debugger.
References
- UI Blocks Concepts: https://huggingface.co/learn/nlp-course/en/chapter9/7
- UI Row-Column Arrangement: https://www.gradio.app/guides/controlling-layout
- Show caption in image gallery: https://github.com/gradio-app/gradio/issues/3364