Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,6 +22,10 @@ app.add_middleware(
|
|
| 22 |
allow_headers=['*'],
|
| 23 |
)
|
| 24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
# Function to crawl all URLs from a domain
|
| 26 |
def get_all_links_from_domain(domain_url):
|
| 27 |
print("domain url " + domain_url)
|
|
|
|
| 22 |
allow_headers=['*'],
|
| 23 |
)
|
| 24 |
|
| 25 |
+
|
| 26 |
+
# Define retriever_chain as a global variable
|
| 27 |
+
retriever_chain = None
|
| 28 |
+
|
| 29 |
# Function to crawl all URLs from a domain
|
| 30 |
def get_all_links_from_domain(domain_url):
|
| 31 |
print("domain url " + domain_url)
|