Skip to content

Commit

Permalink
Added deprecation notice
Browse files Browse the repository at this point in the history
  • Loading branch information
IliaLarchenko committed Mar 1, 2024
1 parent 42bb2ed commit 84a40f2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ This service is created to demonstrate abilities of the [Albumentations](https:/
[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)

## Easy start
You can play with this service right now [https://albumentations-demo.herokuapp.com/](https://albumentations-demo.herokuapp.com/)
(It is deployed on free service with very limited computing power and can be quite unstable)
If you would like to run the service locally follow the installation instruction.

You can find the online version of this tool here: [https://albumentations-demo.herokuapp.com/](https://albumentations-demo.herokuapp.com/) But it will be discontinued after 18th of March 2024.

As alternative you can also use the fork supported and deployed by the Albumentations team [https://demo.albumentations.ai/](https://demo.albumentations.ai/)


If you would like to run it locally follow the installation instruction.

## Installation and run
```
Expand Down
7 changes: 6 additions & 1 deletion src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@


def main():
st.write("This online instance of the app will be discontinued after 18th of March 2024.")
st.write("You can still use it locally of deploy your own instance. See the [source code](https://github.com/IliaLarchenko/albumentations-demo).")
st.write("Or use the fork supported and deployed by albumentations team: [https://demo.albumentations.ai/](https://demo.albumentations.ai/).")


# get CLI params: the path to images and image width
path_to_images, width_original = get_arguments()

Expand Down Expand Up @@ -60,7 +65,7 @@ def main():
"The error has occurred. Most probably you have passed wrong set of parameters. \
Check transforms that change the shape of image."
)

# proceed only if everything is ok
if error == 0:
augmented_image = data["image"]
Expand Down

0 comments on commit 84a40f2

Please sign in to comment.