Update app.py
Browse files
app.py
CHANGED
|
@@ -40,7 +40,7 @@ def predict_image(img):
|
|
| 40 |
return im, None
|
| 41 |
|
| 42 |
# Initialize chatbot components
|
| 43 |
-
llm = ChatGroq(groq_api_key=groq_api_key, model_name="Llama3-
|
| 44 |
prompt = ChatPromptTemplate.from_template(
|
| 45 |
""" Answer the questions based on the provided context only. Please provide the most accurate response based on the question <context> {context} <context> Questions:{input} """
|
| 46 |
)
|
|
|
|
| 40 |
return im, None
|
| 41 |
|
| 42 |
# Initialize chatbot components
|
| 43 |
+
llm = ChatGroq(groq_api_key=groq_api_key, model_name="Llama3-70b-8192")
|
| 44 |
prompt = ChatPromptTemplate.from_template(
|
| 45 |
""" Answer the questions based on the provided context only. Please provide the most accurate response based on the question <context> {context} <context> Questions:{input} """
|
| 46 |
)
|