Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -69,7 +69,7 @@ Answer:
|
|
69 |
self.db = Chroma(persist_directory="./pragetx_chroma", embedding_function=HuggingFaceEmbeddings(), collection_name="pragetx")
|
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 = "
|
73 |
os.environ["GROQ_API_KEY"] = os.getenv("GROQ_API_KEY")
|
74 |
self.llm = ChatGroq(
|
75 |
model="gemma2-9b-it",
|
@@ -181,4 +181,4 @@ footer {display: none !important;}
|
|
181 |
)
|
182 |
|
183 |
demo.queue()
|
184 |
-
demo.launch(share=True, server_name="0.0.0.0", root_path="/bot")
|
|
|
69 |
self.db = Chroma(persist_directory="./pragetx_chroma", embedding_function=HuggingFaceEmbeddings(), collection_name="pragetx")
|
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 = "#####" )
|
73 |
os.environ["GROQ_API_KEY"] = os.getenv("GROQ_API_KEY")
|
74 |
self.llm = ChatGroq(
|
75 |
model="gemma2-9b-it",
|
|
|
181 |
)
|
182 |
|
183 |
demo.queue()
|
184 |
+
demo.launch(share=True, server_name="0.0.0.0", root_path="/bot")
|