Commit
·
57df1a3
1
Parent(s):
cb3d757
Removed discontinuation notice
Browse files- README.md +2 -4
- src/app.py +1 -11
README.md
CHANGED
@@ -6,11 +6,9 @@ This service is created to demonstrate abilities of the [Albumentations](https:/
|
|
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 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 |
```
|
|
|
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 I don't actively support it anymore.
|
|
|
|
|
|
|
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 |
|
13 |
## Installation and run
|
14 |
```
|
src/app.py
CHANGED
@@ -18,16 +18,6 @@ from visuals import (
|
|
18 |
|
19 |
|
20 |
def main():
|
21 |
-
st.write("This instance of the app will be discontinued after 18th of March 2024.")
|
22 |
-
st.write(
|
23 |
-
"You can still use it locally of deploy your own instance. See the \
|
24 |
-
[source code](https://github.com/IliaLarchenko/albumentations-demo)."
|
25 |
-
)
|
26 |
-
st.write(
|
27 |
-
"Or use the fork supported and deployed by albumentations team: \
|
28 |
-
[https://demo.albumentations.ai/](https://demo.albumentations.ai/)."
|
29 |
-
)
|
30 |
-
|
31 |
# get CLI params: the path to images and image width
|
32 |
path_to_images, width_original = get_arguments()
|
33 |
|
@@ -71,7 +61,7 @@ def main():
|
|
71 |
Most probably you have passed wrong set of parameters. \
|
72 |
Check transforms that change the shape of image."
|
73 |
)
|
74 |
-
|
75 |
# proceed only if everything is ok
|
76 |
if error == 0:
|
77 |
augmented_image = data["image"]
|
|
|
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 |
|
|
|
61 |
Most probably you have passed wrong set of parameters. \
|
62 |
Check transforms that change the shape of image."
|
63 |
)
|
64 |
+
|
65 |
# proceed only if everything is ok
|
66 |
if error == 0:
|
67 |
augmented_image = data["image"]
|