anmol2705 commited on
Commit
5e35918
·
unverified ·
1 Parent(s): 74d9e23

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
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 = "Brijesh321@R" )
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")