IliaLarchenko commited on
Commit
87c454c
1 Parent(s): 2306971

Added deprecation notice

Browse files
Files changed (2) hide show
  1. README.md +6 -3
  2. src/app.py +6 -1
README.md CHANGED
@@ -4,10 +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
- You can play with this service right now [https://albumentations-demo.herokuapp.com/](https://albumentations-demo.herokuapp.com/)
8
- (It is deployed on free service with very limited computing power and can be quite unstable)
 
 
 
 
9
 
10
- If you would like to run it locally follow the installation instruction.
11
 
12
  ## Installation and run
13
  ```
 
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/) But it will be discontinued after 18th of March 2024.
10
+
11
+ As alternative you can also use the fork supported and deployed by the Albumentations team [https://demo.albumentations.ai/](https://demo.albumentations.ai/)
12
+
13
 
 
14
 
15
  ## Installation and run
16
  ```
src/app.py CHANGED
@@ -18,6 +18,11 @@ from visuals import (
18
 
19
 
20
  def main():
 
 
 
 
 
21
  # get CLI params: the path to images and image width
22
  path_to_images, width_original = get_arguments()
23
 
@@ -60,7 +65,7 @@ def main():
60
  "The error has occurred. Most probably you have passed wrong set of parameters. \
61
  Check transforms that change the shape of image."
62
  )
63
-
64
  # proceed only if everything is ok
65
  if error == 0:
66
  augmented_image = data["image"]
 
18
 
19
 
20
  def main():
21
+ st.write("This online instance of the app will be discontinued after 18th of March 2024.")
22
+ st.write("You can still use it locally of deploy your own instance. See the [source code](https://github.com/IliaLarchenko/albumentations-demo).")
23
+ st.write("Or use the fork supported and deployed by albumentations team: [https://demo.albumentations.ai/](https://demo.albumentations.ai/).")
24
+
25
+
26
  # get CLI params: the path to images and image width
27
  path_to_images, width_original = get_arguments()
28
 
 
65
  "The error has occurred. Most probably you have passed wrong set of parameters. \
66
  Check transforms that change the shape of image."
67
  )
68
+
69
  # proceed only if everything is ok
70
  if error == 0:
71
  augmented_image = data["image"]