Spaces:
Sleeping
Sleeping
matthewfarant
commited on
Commit
•
fc85e8f
1
Parent(s):
7aa4045
Update app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,8 @@ import os
|
|
17 |
|
18 |
#
|
19 |
os.environ["HUGGINGFACEHUB_API_TOKEN"] = os.getenv('HF_KEY')
|
|
|
|
|
20 |
|
21 |
llm = HuggingFaceEndpoint(
|
22 |
repo_id="meta-llama/Meta-Llama-3.1-8B-Instruct",
|
@@ -30,8 +32,7 @@ llama3 = ChatHuggingFace(llm=llm, temperature = 1)
|
|
30 |
llama3_json = ChatHuggingFace(llm=llm, format = 'json', temperature = 0)
|
31 |
|
32 |
google_search = GoogleSearchAPIWrapper()
|
33 |
-
|
34 |
-
os.environ["GOOGLE_API_KEY"] = "AIzaSyAaNoF_a27HM3C87ObELRLTeVCrke_3OJA"
|
35 |
firecrawl_app = FirecrawlApp(api_key='fc-beeb8af53ea6460fbe9f5c2997c7b39b')
|
36 |
|
37 |
# Query Transformation
|
|
|
17 |
|
18 |
#
|
19 |
os.environ["HUGGINGFACEHUB_API_TOKEN"] = os.getenv('HF_KEY')
|
20 |
+
os.environ["GOOGLE_CSE_ID"] = os.getenv('GOOGLE_CSE_ID')
|
21 |
+
os.environ["GOOGLE_API_KEY"] = os.getenv('GOOGLE_API_KEY')
|
22 |
|
23 |
llm = HuggingFaceEndpoint(
|
24 |
repo_id="meta-llama/Meta-Llama-3.1-8B-Instruct",
|
|
|
32 |
llama3_json = ChatHuggingFace(llm=llm, format = 'json', temperature = 0)
|
33 |
|
34 |
google_search = GoogleSearchAPIWrapper()
|
35 |
+
|
|
|
36 |
firecrawl_app = FirecrawlApp(api_key='fc-beeb8af53ea6460fbe9f5c2997c7b39b')
|
37 |
|
38 |
# Query Transformation
|