Spaces:
Running
Running
hetvaghasia39
commited on
Commit
•
7a49bf0
1
Parent(s):
4dc00f9
Update main.py
Browse files
main.py
CHANGED
@@ -70,7 +70,7 @@ Answer:
|
|
70 |
# self.llm = ChatOllama(model="phi3:3.8b", base_url="http://localhost:11434", num_gpu=16)
|
71 |
# self.llm = HuggingChat(email = os.getenv("HF_EMAIL") , psw = os.getenv("HF_PASS") )
|
72 |
# self.llm = HuggingChat(email = "brij1808" , psw = "Brijesh321@R" )
|
73 |
-
os.environ["GROQ_API_KEY"] = os.
|
74 |
self.llm = ChatGroq(
|
75 |
model="gemma2-9b-it",
|
76 |
temperature=1,
|
|
|
70 |
# self.llm = ChatOllama(model="phi3:3.8b", base_url="http://localhost:11434", num_gpu=16)
|
71 |
# self.llm = HuggingChat(email = os.getenv("HF_EMAIL") , psw = os.getenv("HF_PASS") )
|
72 |
# self.llm = HuggingChat(email = "brij1808" , psw = "Brijesh321@R" )
|
73 |
+
os.environ["GROQ_API_KEY"] = os.environ.get("GROQ_API_KEY")
|
74 |
self.llm = ChatGroq(
|
75 |
model="gemma2-9b-it",
|
76 |
temperature=1,
|