Spaces:
Running
Running
Commit
•
4e45da4
1
Parent(s):
4eb1cf2
Update app.py
Browse files
app.py
CHANGED
@@ -30,6 +30,12 @@ if not hasattr(st, 'llm'):
|
|
30 |
# Initialize tools
|
31 |
search_tool = SerperDevTool()
|
32 |
scrape_tool = ScrapeWebsiteTool()
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
read_resume = FileReadTool(file_path='fake_resume.md')
|
34 |
|
35 |
# Initialize semantic_search_resume with error handling
|
|
|
30 |
# Initialize tools
|
31 |
search_tool = SerperDevTool()
|
32 |
scrape_tool = ScrapeWebsiteTool()
|
33 |
+
|
34 |
+
# Ensure the SERPER API key is set
|
35 |
+
serper_api_key = "uxSCra7XOaiojmWo3MIQ2xzFWkX2306yJY7YIVMsT771qLCaOJejKKQB7nKbRXd7"
|
36 |
+
search_tool.api_key = serper_api_key
|
37 |
+
|
38 |
+
# Initialize read_resume
|
39 |
read_resume = FileReadTool(file_path='fake_resume.md')
|
40 |
|
41 |
# Initialize semantic_search_resume with error handling
|