IliaLarchenko commited on
Commit
f076fa2
1 Parent(s): e2d5557

added image_width CLI param ro readme

Browse files
Files changed (1) hide show
  1. README.md +6 -0
README.md CHANGED
@@ -21,6 +21,12 @@ If you want to work with you own images just replace the last line with:
21
  streamlit run src/app.py -- --image_folder PATH_TO_YOUR_IMAGE_FOLDER
22
  ```
23
 
 
 
 
 
 
 
24
  In your terminal you will see the link to the running local service similar to :
25
  ```console
26
  You can now view your Streamlit app in your browser.
 
21
  streamlit run src/app.py -- --image_folder PATH_TO_YOUR_IMAGE_FOLDER
22
  ```
23
 
24
+ If your images have some unusual proportions you can use `image_width` parameter to set the width in pixels of the original image to show. The width of the transformed image and heights of both images will be computed automatically. Default value of width is `400`.
25
+ ```
26
+ streamlit run src/app.py -- --image_width INT_VALUE_OF_WIDTH
27
+ ```
28
+
29
+
30
  In your terminal you will see the link to the running local service similar to :
31
  ```console
32
  You can now view your Streamlit app in your browser.