XMMR12 commited on
Commit
4e39fe5
·
verified ·
1 Parent(s): 75c2039

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def fetch_page_content(url: str):
41
  for each in ["Page not available","403 Forbidden"]:
42
  if each in text:
43
  return "No information found!"
44
- return text[:10500] # Limit to 10.5k characters
45
  except Exception as e:
46
  return f"Error fetching page: {str(e)}"
47
 
 
41
  for each in ["Page not available","403 Forbidden"]:
42
  if each in text:
43
  return "No information found!"
44
+ return text[:3500] # Limit to 3.5k characters
45
  except Exception as e:
46
  return f"Error fetching page: {str(e)}"
47