bsvaz commited on
Commit
59a686b
·
1 Parent(s): 82c9f6d

fix README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -36
README.md CHANGED
@@ -1,36 +1,12 @@
1
- # Landmark Classification with ViT
2
-
3
- This repository contains a Gradio-based application for classifying famous landmarks using a ViT (Vision Transformer) model. It includes code for loading landmark categories, managing examples, customizing the Gradio interface, and using a pre-trained model from the Hugging Face Hub.
4
-
5
- ## Features
6
- - ViT-based landmark classification
7
- - Organized categories with ordered data loading
8
- - Custom theme using Gradio’s theming framework
9
- - Example images section for quick testing
10
-
11
- ## Installation
12
- 1. Clone the repository.
13
- 2. Create and activate a virtual environment:
14
- ```
15
- python -m venv .venv
16
- source .venv/bin/activate
17
- ```
18
- 3. Install dependencies:
19
- ```
20
- pip install -r requirements.txt
21
- ```
22
-
23
- ## Usage
24
- 1. Run the main application:
25
- ```
26
- python app.py
27
- ```
28
- 2. Access the Gradio interface in a web browser at the URL printed in the console.
29
-
30
- ## Project Structure
31
- - `app.py` : Application entry point
32
- - `classifier.py` : Model loading and inference logic
33
- - `custom_theme.py` : Custom theme definitions for Gradio
34
- - `src/ui/interface.py` : UI layout and Gradio components
35
- - `src/utils/examples.py` : Example data loading and management
36
- - `landmark_categories.json` : Configuration of landmark categories
 
1
+ ---
2
+ title: Landmark Classification Vit
3
+ emoji: 🌍
4
+ colorFrom: purple
5
+ colorTo: purple
6
+ sdk: gradio
7
+ sdk_version: 5.13.0
8
+ app_file: app.py
9
+ pinned: false
10
+ ---
11
+
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference