Spaces:
Runtime error
Runtime error
|
Download README.md from seedmanc/novic-average: direct link, hf CLI and curl.
- Browser
- Download file 1.39 kB
-
https://huggingface.co/spaces/seedmanc/novic-average/resolve/main/README.md
- Command line
-
hf download hf://spaces/seedmanc/novic-average/README.md
-
curl -L -o README.md https://huggingface.co/spaces/seedmanc/novic-average/resolve/main/README.md
1.39 kB
A newer version of the Gradio SDK is available: 6.32.0
metadata
title: 'NOVIC: Unconstrained Open Vocabulary Image Classification'
short_description: Prompt-free open vocabulary classification of any image
license: gpl-3.0
emoji: 🖼️
colorFrom: green
colorTo: yellow
sdk: gradio
python_version: '3.10'
sdk_version: 5.35.0
app_file: app.py
fullWidth: true
header: default
tags:
- prompt-free
- open vocabulary
- image classification
- computer vision
- identification
- generative
pinned: true
disable_embedding: false
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
To run the Gradio space locally, you first create a sandboxed Python 3.10 environment:
python -m venv .venv # <-- Python 3.10
source .venv/bin/activate
# OR...
conda create -y -n novic_spaces python=3.10
conda activate novic_spaces
Then install gradio and any further requirements (Note: A pip-based install of torch is actually numerically different than a conda-based install of pytorch, which matters for the conda-based pretrained models, but for Hugging Face spaces we do not really have another choice):
pip install gradio==5.35.0 -r requirements.txt
Now run the Gradio application:
./app.py
# OR...
gradio app.py
Open in a browser the URL that the application is running on (as shown in the CLI output), e.g. http://127.0.0.1:7860.