Commit
·
317bdbc
1
Parent(s):
f076fa2
added docstring for get_arguments
Browse files- src/utils.py +1 -0
src/utils.py
CHANGED
|
@@ -8,6 +8,7 @@ import streamlit as st
|
|
| 8 |
|
| 9 |
@st.cache
|
| 10 |
def get_arguments():
|
|
|
|
| 11 |
parser = argparse.ArgumentParser()
|
| 12 |
parser.add_argument("--image_folder", default="images")
|
| 13 |
parser.add_argument("--image_width", default=400, type=int)
|
|
|
|
| 8 |
|
| 9 |
@st.cache
|
| 10 |
def get_arguments():
|
| 11 |
+
"""Return the values of CLI params"""
|
| 12 |
parser = argparse.ArgumentParser()
|
| 13 |
parser.add_argument("--image_folder", default="images")
|
| 14 |
parser.add_argument("--image_width", default=400, type=int)
|