Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,9 +8,8 @@ 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 |
-
collection = "asdf"
|
12 |
-
|
13 |
if config and config_btn:
|
|
|
14 |
start = config.split(",")[0]
|
15 |
limit = int(config.split(",")[1])
|
16 |
|
|
|
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]
|
14 |
limit = int(config.split(",")[1])
|
15 |
|