Update app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,12 @@ scraper = WebScraper()
|
|
17 |
vector_db = VectorDatabase()
|
18 |
chatbot = ChatBot()
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
@app.route('/api/scrape', methods=['POST'])
|
21 |
def scrape_url():
|
22 |
try:
|
|
|
17 |
vector_db = VectorDatabase()
|
18 |
chatbot = ChatBot()
|
19 |
|
20 |
+
|
21 |
+
|
22 |
+
@app.route('/')
|
23 |
+
def home():
|
24 |
+
return "Hello, this is a Scraper Flask app backend!"
|
25 |
+
|
26 |
@app.route('/api/scrape', methods=['POST'])
|
27 |
def scrape_url():
|
28 |
try:
|