Merge pull request #21 from IliaLarchenko/deploy
Browse files- README.md +5 -1
- src/app.py +3 -0
README.md
CHANGED
@@ -4,9 +4,13 @@ This service is created to demonstrate abilities of the [Albumentations](https:/
|
|
4 |
[Link to my article about augmentations selection and why this service can be useful](https://towardsdatascience.com/explore-image-augmentations-using-a-convenient-tool-a199b4ac8214)
|
5 |
|
6 |
## Easy start
|
|
|
|
|
7 |
If you would like to run the service locally follow the installation instruction.
|
8 |
|
9 |
-
You can find the online version of this tool here: [https://albumentations-demo.herokuapp.com/](https://albumentations-demo.herokuapp.com/)
|
|
|
|
|
10 |
|
11 |
As alternative you can use the fork supported and deployed by the Albumentations team [https://demo.albumentations.ai/](https://demo.albumentations.ai/)
|
12 |
|
|
|
4 |
[Link to my article about augmentations selection and why this service can be useful](https://towardsdatascience.com/explore-image-augmentations-using-a-convenient-tool-a199b4ac8214)
|
5 |
|
6 |
## Easy start
|
7 |
+
I don't actively support this tool anymore but you can run it locally or use one of the deployed instances.
|
8 |
+
|
9 |
If you would like to run the service locally follow the installation instruction.
|
10 |
|
11 |
+
You can find the online version of this tool here: [https://albumentations-demo.herokuapp.com/](https://albumentations-demo.herokuapp.com/) (it will be stopped soon).
|
12 |
+
|
13 |
+
It is also deployed as a Hugging Face space: [https://huggingface.co/spaces/ilarchenko/albumentations-demo](https://huggingface.co/spaces/ilarchenko/albumentations-demo)
|
14 |
|
15 |
As alternative you can use the fork supported and deployed by the Albumentations team [https://demo.albumentations.ai/](https://demo.albumentations.ai/)
|
16 |
|
src/app.py
CHANGED
@@ -68,6 +68,9 @@ def main():
|
|
68 |
# show title
|
69 |
st.title("Demo of Albumentations")
|
70 |
|
|
|
|
|
|
|
71 |
# show the images
|
72 |
width_transformed = int(
|
73 |
width_original / image.shape[1] * augmented_image.shape[1]
|
|
|
68 |
# show title
|
69 |
st.title("Demo of Albumentations")
|
70 |
|
71 |
+
st.write("I have deployed this service as a Hugging Face Space: https://huggingface.co/spaces/ilarchenko/albumentations-demo please, check it out!")
|
72 |
+
st.write("The version deployed here on Heroku will be deprecated soon.")
|
73 |
+
|
74 |
# show the images
|
75 |
width_transformed = int(
|
76 |
width_original / image.shape[1] * augmented_image.shape[1]
|