YchKhan commited on
Commit
e149a3a
·
verified ·
1 Parent(s): e78ae06

add extract from web endpoint

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -132,7 +132,7 @@ def extract_background_from_url(url: str):
132
 
133
 
134
  @app.get("/extract-page-text/")
135
- def extract_page_content(url: str, max_char: int = 5000)
136
  try:
137
  response = requests.get(url, timeout=20, verify=False)
138
  response.raise_for_status()
 
132
 
133
 
134
  @app.get("/extract-page-text/")
135
+ def extract_page_content(url: str, max_char: int = 5000):
136
  try:
137
  response = requests.get(url, timeout=20, verify=False)
138
  response.raise_for_status()