Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ else:
|
|
64 |
docs = loader.load()
|
65 |
|
66 |
# Debugging output
|
67 |
-
st.write(f"Loaded {len(docs)} documents from the URL.")
|
68 |
|
69 |
if not docs:
|
70 |
st.error("No documents were loaded. Please check the URL or content.")
|
@@ -77,7 +77,7 @@ else:
|
|
77 |
splits = text_splitter.split_documents(docs)
|
78 |
|
79 |
# Debugging output
|
80 |
-
st.write(f"Created {len(splits)} document splits.")
|
81 |
|
82 |
if not splits:
|
83 |
st.error("No document splits were created. Please check the document content.")
|
|
|
64 |
docs = loader.load()
|
65 |
|
66 |
# Debugging output
|
67 |
+
#st.write(f"Loaded {len(docs)} documents from the URL.")
|
68 |
|
69 |
if not docs:
|
70 |
st.error("No documents were loaded. Please check the URL or content.")
|
|
|
77 |
splits = text_splitter.split_documents(docs)
|
78 |
|
79 |
# Debugging output
|
80 |
+
#st.write(f"Created {len(splits)} document splits.")
|
81 |
|
82 |
if not splits:
|
83 |
st.error("No document splits were created. Please check the document content.")
|