Spaces:
Sleeping
Sleeping
bsvaz
commited on
Commit
·
59a686b
1
Parent(s):
82c9f6d
fix README.md
Browse files
README.md
CHANGED
@@ -1,36 +1,12 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|