Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -361,7 +361,7 @@ def rag_predict_fn(text: str):
|
|
| 361 |
|
| 362 |
if is_url:
|
| 363 |
print(f"🌐 Detected URL: {input_text}. Fetching content...")
|
| 364 |
-
fetched_content, status =
|
| 365 |
|
| 366 |
if fetched_content:
|
| 367 |
# Limit content length to avoid token overflow
|
|
|
|
| 361 |
|
| 362 |
if is_url:
|
| 363 |
print(f"🌐 Detected URL: {input_text}. Fetching content...")
|
| 364 |
+
fetched_content, status = fetch_html_content(input_text)
|
| 365 |
|
| 366 |
if fetched_content:
|
| 367 |
# Limit content length to avoid token overflow
|