legend1234 commited on
Commit
e423db1
·
1 Parent(s): 2d3dd08

Fix README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -52
README.md CHANGED
@@ -1,53 +1,10 @@
1
- # Selector Server
 
 
 
 
 
 
 
 
2
 
3
- A web interface for the Selector library, providing tools for subset selection and diversity calculations.
4
-
5
- ## Local Development
6
-
7
- Run the server locally using Docker Compose:
8
-
9
- ```bash
10
- docker compose up --build --scale celery_worker=3 -d
11
- ```
12
-
13
- The server will be available at:
14
- - Main application: http://localhost:8008
15
- - Flower monitoring: http://localhost:5555
16
-
17
- ## Hugging Face Deployment
18
-
19
- 1. Build the Hugging Face specific Docker image:
20
- ```bash
21
- docker build -t selector-server-hf -f Dockerfile.hf .
22
- ```
23
-
24
- 2. Login to Hugging Face CLI:
25
- ```bash
26
- huggingface-cli login
27
- ```
28
-
29
- 3. Create a new Space on Hugging Face:
30
- - Go to https://huggingface.co/spaces
31
- - Click "Create new Space"
32
- - Choose "Docker" as the Space SDK
33
- - Set the hardware requirements (recommended: CPU + 16GB RAM)
34
-
35
- 4. Push the Docker image:
36
- ```bash
37
- # Tag the image
38
- docker tag selector-server-hf registry.hf.space/your-username/your-space-name:latest
39
-
40
- # Push to Hugging Face
41
- docker push registry.hf.space/your-username/your-space-name:latest
42
- ```
43
-
44
- The application will be available at: https://huggingface.co/spaces/your-username/your-space-name
45
-
46
- ## Features
47
-
48
- - Upload feature matrices for subset selection
49
- - Calculate diversity metrics
50
- - Visualize results
51
- - RESTful API for programmatic access
52
- - Celery-based task queue for long-running calculations
53
- - Real-time task monitoring with Flower
 
1
+ ---
2
+ title: Selector
3
+ emoji: 🦀
4
+ colorFrom: gray
5
+ colorTo: gray
6
+ sdk: docker
7
+ pinned: false
8
+ license: gpl-3.0
9
+ ---
10