Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -36,8 +36,8 @@ if process_url_clicked:
|
|
36 |
main_placeholder.text("Data Loading...Started...β
β
β
")
|
37 |
data = loader.load()
|
38 |
if not data:
|
39 |
-
|
40 |
-
|
41 |
# split data
|
42 |
text_splitter = RecursiveCharacterTextSplitter(
|
43 |
separators=['\n\n', '\n', '.', ','],
|
|
|
36 |
main_placeholder.text("Data Loading...Started...β
β
β
")
|
37 |
data = loader.load()
|
38 |
if not data:
|
39 |
+
st.error("Failed to load content from the provided URLs. Please check their availability.")
|
40 |
+
st.stop()
|
41 |
# split data
|
42 |
text_splitter = RecursiveCharacterTextSplitter(
|
43 |
separators=['\n\n', '\n', '.', ','],
|