Update app.py
Browse files
app.py
CHANGED
|
@@ -66,7 +66,7 @@ if df is None:
|
|
| 66 |
link = st.sidebar.text_input("$\\textsf{\Large Enter Product Link (Tiki only)}$")
|
| 67 |
|
| 68 |
if link:
|
| 69 |
-
n_pages = st.sidebar.slider(label = "Number of pages to crawl", min_value=1, max_value=
|
| 70 |
@st.cache_data
|
| 71 |
def get_data_from_link():
|
| 72 |
data = crawl_tiki(link, pages = int(n_pages))
|
|
|
|
| 66 |
link = st.sidebar.text_input("$\\textsf{\Large Enter Product Link (Tiki only)}$")
|
| 67 |
|
| 68 |
if link:
|
| 69 |
+
n_pages = st.sidebar.slider(label = "Number of pages to crawl", min_value=1, max_value=30)
|
| 70 |
@st.cache_data
|
| 71 |
def get_data_from_link():
|
| 72 |
data = crawl_tiki(link, pages = int(n_pages))
|