ManojGowda's picture
Deploy DV CON design contest app
c8640b7

A newer version of the Gradio SDK is available: 6.12.0

Upgrade
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:

  1. Capture or upload an image in Gradio.
  2. Run YOLOv5n detection using Ultralytics.
  3. Encode the user task prompt and detected object labels using msmarco-MiniLM-L6-v3.
  4. 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

  1. Create a new Space in your Hugging Face account.
  2. Choose Gradio SDK.
  3. Set the Space name you want (for example: dv-con-design-contest).
  4. 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.