Spaces:
Sleeping
Sleeping
Juho Inkinen
commited on
Revise README for VLM Caption & Annif Demo
Browse filesUpdated project name and deployment instructions in README.
- .github/README.md +11 -6
.github/README.md
CHANGED
|
@@ -1,13 +1,19 @@
|
|
| 1 |
-
# Annif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
Developed using Copilot Agent.
|
| 4 |
|
| 5 |
-
This demo is
|
| 6 |
|
| 7 |
-
##
|
| 8 |
-
Deploy
|
| 9 |
|
| 10 |
-
git remote add huggingface git@hf.co:spaces/NatLibFi/Annif-
|
| 11 |
|
| 12 |
and then
|
| 13 |
|
|
@@ -24,4 +30,3 @@ For Hugging Face Space deployment they can be set in [repo settings](https://hug
|
|
| 24 |
When developing you can use autoreload by running the app like this:
|
| 25 |
|
| 26 |
gradio app.py
|
| 27 |
-
|
|
|
|
| 1 |
+
# VLM Caption & Annif Demo
|
| 2 |
+
|
| 3 |
+
How this works:
|
| 4 |
+
|
| 5 |
+
1. Upload or take a photo.
|
| 6 |
+
2. The image is sent to a Visual Language Model to generate a caption.
|
| 7 |
+
3. Annif suggests subjects based on the caption.
|
| 8 |
|
| 9 |
Developed using Copilot Agent.
|
| 10 |
|
| 11 |
+
This demo is/was deployed as a Hugging Face Space [NatLibFi/Caption-Annif-Demo](https://huggingface.co/spaces/NatLibFi/Caption-Annif-Demo) for a [workshop at Kirjastoverkkopäivät 2025](https://www.kansalliskirjasto.fi/fi/kirjastoverkkopaivat-2025-torstain-tyopajat#tp2-automaattinen-kuvatekstien-tuottaminen-ja-sisallonkuvailu).
|
| 12 |
|
| 13 |
+
## Deployment
|
| 14 |
+
Deploy by just pushing the code to Hugging Face; you can e.g. add HF as a new remote:
|
| 15 |
|
| 16 |
+
git remote add huggingface git@hf.co:spaces/NatLibFi/Caption-Annif-Demo
|
| 17 |
|
| 18 |
and then
|
| 19 |
|
|
|
|
| 30 |
When developing you can use autoreload by running the app like this:
|
| 31 |
|
| 32 |
gradio app.py
|
|
|