Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,7 @@ api_key = "sk-or-v1-5b41e7106feb9b982d4ef5a6aa0959993387ba2e5fc9830df1279418776e
|
|
8 |
config = st.text_area("Enter the start URL and the limit of crawling (in this format : URL,limit):")
|
9 |
config_btn = st.button("Start crawling!")
|
10 |
|
|
|
11 |
if config and config_btn:
|
12 |
global collection
|
13 |
start = config.split(",")[0]
|
|
|
8 |
config = st.text_area("Enter the start URL and the limit of crawling (in this format : URL,limit):")
|
9 |
config_btn = st.button("Start crawling!")
|
10 |
|
11 |
+
collection = None
|
12 |
if config and config_btn:
|
13 |
global collection
|
14 |
start = config.split(",")[0]
|