From 665116ecccc064d6739973401cfadc3529fa0002 Mon Sep 17 00:00:00 2001 From: Reinaldo Chaves Date: Mon, 30 Sep 2024 18:12:40 -0300 Subject: [PATCH] Update app.py --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index cf67bb0..ab69270 100644 --- a/app.py +++ b/app.py @@ -168,7 +168,8 @@ os.environ["HUGGINGFACEHUB_API_TOKEN"] = huggingface_api_token # Inicializar o modelo de linguagem e embeddings - llm = ChatGroq(groq_api_key=groq_api_key, model_name="Gemma2-9b-It", temperature=0) + #llm = ChatGroq(groq_api_key=groq_api_key, model_name="Gemma2-9b-It", temperature=0) + llm = ChatGroq(groq_api_key=groq_api_key, model_name="llama3-70b-8192, temperature=0) embeddings = HuggingFaceEmbeddings(model_name="all-MiniLM-L6-v2") session_id = st.text_input("Session ID", value="default_session")