pankajsingh3012 commited on
Commit
b4943d7
·
verified ·
1 Parent(s): 3f16066

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def crawl(start_url: str, max_depth: int = 1, delay: float = 0.1) -> Tuple[List[
47
  except Exception as e:
48
  print(f"Error crawling {url}: {e}")
49
 
50
- return results, crawled_urls
51
 
52
 
53
  def chunk_text(text: str, max_chunk_size: int = 1000) -> List[str]:
 
47
  except Exception as e:
48
  print(f"Error crawling {url}: {e}")
49
 
50
+ return results[:10], crawled_urls[:10]
51
 
52
 
53
  def chunk_text(text: str, max_chunk_size: int = 1000) -> List[str]: