Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.12.0
metadata
title: DV CON design contest
sdk: gradio
app_file: app.py
pinned: false
DV CON design contest
This is a simple Proof of Concept for task-based object detection on PC (CPU-first), intended as a functional baseline before FPGA deployment work.
Pipeline:
- Capture or upload an image in Gradio.
- Run YOLOv5n detection using Ultralytics.
- Encode the user task prompt and detected object labels using
msmarco-MiniLM-L6-v3. - Compute cosine similarity and highlight the closest object.
Setup
pip install -r requirements.txt
Run
python app.py
Open:
Example prompt
I need to sit
Deploy To Hugging Face Spaces
- Create a new Space in your Hugging Face account.
- Choose Gradio SDK.
- Set the Space name you want (for example: dv-con-design-contest).
- Push this project to that Space repository.
Quick git flow:
git init
git add .
git commit -m "Initial DV CON design contest app"
git remote add origin https://huggingface.co/spaces/<your-username>/<your-space-name>
git push -u origin main
After push, Hugging Face builds automatically and hosts your app.