Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -252,6 +252,19 @@ st.title("📝 Chunk Webpage Content Editor")
|
|
| 252 |
st.caption("A tool to fetch, chunk, and refine web content for AI synthesis. Inspired by Andrea Volpini's [work on content chunking](https://www.linkedin.com/pulse/understanding-chunking-google-ai-mode-practical-content-volpini-zseaf/).")
|
| 253 |
|
| 254 |
url_input = st.text_input("Enter a webpage URL to start", key="url_input")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 255 |
|
| 256 |
if st.button("Process URL", use_container_width=True, type="primary"):
|
| 257 |
if url_input:
|
|
|
|
| 252 |
st.caption("A tool to fetch, chunk, and refine web content for AI synthesis. Inspired by Andrea Volpini's [work on content chunking](https://www.linkedin.com/pulse/understanding-chunking-google-ai-mode-practical-content-volpini-zseaf/).")
|
| 253 |
|
| 254 |
url_input = st.text_input("Enter a webpage URL to start", key="url_input")
|
| 255 |
+
with st.expander("⚠️ Important Information", expanded=False):
|
| 256 |
+
st.warning(
|
| 257 |
+
"""
|
| 258 |
+
**Early Draft:** This is an early version of the application. You may encounter bugs or incomplete features.
|
| 259 |
+
""",
|
| 260 |
+
icon="🛠️"
|
| 261 |
+
)
|
| 262 |
+
st.warning(
|
| 263 |
+
"""
|
| 264 |
+
**Restrictive Bot Policy:** This tool fetches content using automated requests. If a target website blocks bots, the app may time out or fail to retrieve content.
|
| 265 |
+
""",
|
| 266 |
+
icon="🤖"
|
| 267 |
+
)
|
| 268 |
|
| 269 |
if st.button("Process URL", use_container_width=True, type="primary"):
|
| 270 |
if url_input:
|