Spaces:
Running
Running
girishwangikar
commited on
Commit
•
9335c3a
1
Parent(s):
34f9115
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from langchain.schema import HumanMessage, SystemMessage
|
|
7 |
GROQ_API_KEY = os.environ.get("GROQ_API_KEY")
|
8 |
|
9 |
# Set up LLM client
|
10 |
-
llm = ChatGroq(temperature=0, model_name='
|
11 |
|
12 |
# Chatbot function
|
13 |
def stream_chat(
|
@@ -71,7 +71,7 @@ TITLE = "<h1><center>ConverseBot AI</center></h1>"
|
|
71 |
|
72 |
EXPLANATION = """
|
73 |
<div style="text-align: center; margin-top: 20px;">
|
74 |
-
<p>This app uses the
|
75 |
</div>
|
76 |
"""
|
77 |
|
|
|
7 |
GROQ_API_KEY = os.environ.get("GROQ_API_KEY")
|
8 |
|
9 |
# Set up LLM client
|
10 |
+
llm = ChatGroq(temperature=0, model_name='llama-3.1-8B-Instant', groq_api_key=GROQ_API_KEY)
|
11 |
|
12 |
# Chatbot function
|
13 |
def stream_chat(
|
|
|
71 |
|
72 |
EXPLANATION = """
|
73 |
<div style="text-align: center; margin-top: 20px;">
|
74 |
+
<p>This app uses the llama-3.1-8B model, a powerful language model designed for high-quality, reasoning-rich interactions.</p>
|
75 |
</div>
|
76 |
"""
|
77 |
|