Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ ANSWER:
|
|
80 |
prompt = PromptTemplate(template=prompt_template,
|
81 |
input_variables=['context', 'question', 'chat_history'])
|
82 |
|
83 |
-
llm = ChatGroq(temperature=0.7,max_tokens=1024, groq_api_key=GROQ_API, model_name="mixtral-8x7b-32768")
|
84 |
|
85 |
qa = ConversationalRetrievalChain.from_llm(
|
86 |
llm=llm,
|
|
|
80 |
prompt = PromptTemplate(template=prompt_template,
|
81 |
input_variables=['context', 'question', 'chat_history'])
|
82 |
|
83 |
+
llm = ChatGroq(temperature=0.7,max_tokens=1024, groq_api_key= os.environ['GROQ_API'], model_name="mixtral-8x7b-32768")
|
84 |
|
85 |
qa = ConversationalRetrievalChain.from_llm(
|
86 |
llm=llm,
|