Update README.md
Browse files
README.md
CHANGED
@@ -9,12 +9,12 @@ This repository provides a simplified implementation for using the MedImageInsig
|
|
9 |
|
10 |
What we have done:
|
11 |
|
12 |
-
- Downloaded the models from
|
13 |
-
- Got rid of all the
|
14 |
-
- Got rid of
|
15 |
-
- Moved to uv for
|
16 |
- Added multi-label classification
|
17 |
-
-
|
18 |
|
19 |
## Usage
|
20 |
|
@@ -29,18 +29,18 @@ git lfs install
|
|
29 |
git clone https://huggingface.co/lion-ai/MedImageInsights
|
30 |
```
|
31 |
3. Install the required dependencies
|
32 |
-
We are using [uv](https://github.com/astral-sh/uv) package manager to
|
33 |
|
34 |
-
To create a
|
35 |
```bash
|
36 |
uv sync
|
37 |
```
|
38 |
-
Or to run a single script just run
|
39 |
```bash
|
40 |
uv run example.py
|
41 |
```
|
42 |
|
43 |
-
|
44 |
|
45 |
## Examples
|
46 |
See to the `example.py` file.
|
@@ -94,9 +94,9 @@ print(results["text_embeddings"])
|
|
94 |
```bash
|
95 |
uv run flask_app.py
|
96 |
```
|
97 |
-
Go to
|
98 |
|
99 |
-
The application provides endpoints for classification and image embeddings. Images have to be base64 encoded
|
100 |
|
101 |
|
102 |
## Roadmap
|
|
|
9 |
|
10 |
What we have done:
|
11 |
|
12 |
+
- Downloaded the models from Azure
|
13 |
+
- Got rid of all the unnecessary files
|
14 |
+
- Got rid of unnecessary MLflow code to make a standalone implementation
|
15 |
+
- Moved to uv for dependency management
|
16 |
- Added multi-label classification
|
17 |
+
- Created an example with the FastAPI service
|
18 |
|
19 |
## Usage
|
20 |
|
|
|
29 |
git clone https://huggingface.co/lion-ai/MedImageInsights
|
30 |
```
|
31 |
3. Install the required dependencies
|
32 |
+
We are using [uv](https://github.com/astral-sh/uv) package manager to simplify the installation.
|
33 |
|
34 |
+
To create a virtual env, simply run:
|
35 |
```bash
|
36 |
uv sync
|
37 |
```
|
38 |
+
Or to run a single script, just run:
|
39 |
```bash
|
40 |
uv run example.py
|
41 |
```
|
42 |
|
43 |
+
That's it!
|
44 |
|
45 |
## Examples
|
46 |
See to the `example.py` file.
|
|
|
94 |
```bash
|
95 |
uv run flask_app.py
|
96 |
```
|
97 |
+
Go to localhost:8000/docs to see the swagger.
|
98 |
|
99 |
+
The application provides endpoints for classification and image embeddings. Images have to be base64 encoded.
|
100 |
|
101 |
|
102 |
## Roadmap
|