Spaces:
Running
Running
Juho Inkinen
commited on
Create .github/README.md to be shown on GitHub
Browse filesAdded README for Annif-VLM-demo with deployment instructions and environment variables.
- .github/README.md +17 -0
.github/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Annif-VML-demo
|
| 2 |
+
|
| 3 |
+
Developed using Copilot Agent.
|
| 4 |
+
|
| 5 |
+
Deploy as a Hugging Face Space by just pushing the code to the HF; you can e.g. add HF as a new remote:
|
| 6 |
+
|
| 7 |
+
git remote add huggingface git@hf.co:spaces/NatLibFi/Annif-VLM-demo
|
| 8 |
+
|
| 9 |
+
The app needs these environment variables:
|
| 10 |
+
- `ANNIF_API_BASE_URL`
|
| 11 |
+
- `VLM_API_KEY`
|
| 12 |
+
- `VLM_API_BASE_URL`
|
| 13 |
+
|
| 14 |
+
When developing you can use autoreload by running the app like this:
|
| 15 |
+
|
| 16 |
+
gradio app.py
|
| 17 |
+
|