GIGAParviz commited on
Commit
f1a01e8
·
verified ·
1 Parent(s): 3f66e0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,7 +14,7 @@ text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=20
14
 
15
  models = ["deepseek-r1-distill-llama-70b", "llama-3.3-70b-versatile", "gemma2-9b-it"]
16
  default_model = models[0]
17
- model = ChatGroq(api_key="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", model_name=default_model)
18
 
19
  chat_history = []
20
  PRICE_PER_TOKEN = 0.00001
@@ -66,7 +66,7 @@ def summarize_chat(model):
66
  def answer_query(query, file_path, summarize, tone, model_name, creativity, keywords, language, response_length, welcome_message, exclusion_words):
67
  global chat_history
68
 
69
- model = ChatGroq(api_key="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", model_name=model_name)
70
  try:
71
 
72
  if file_path:
 
14
 
15
  models = ["deepseek-r1-distill-llama-70b", "llama-3.3-70b-versatile", "gemma2-9b-it"]
16
  default_model = models[0]
17
+ model = ChatGroq(api_key="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", model_name=default_model)
18
 
19
  chat_history = []
20
  PRICE_PER_TOKEN = 0.00001
 
66
  def answer_query(query, file_path, summarize, tone, model_name, creativity, keywords, language, response_length, welcome_message, exclusion_words):
67
  global chat_history
68
 
69
+ model = ChatGroq(api_key="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", model_name=model_name)
70
  try:
71
 
72
  if file_path: