Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def icon(emoji: str):
|
|
| 18 |
|
| 19 |
# icon("⚡️")
|
| 20 |
|
| 21 |
-
st.subheader("Groq Chat with LLaMA3 App", divider="rainbow", anchor=False)
|
| 22 |
|
| 23 |
client = Groq(
|
| 24 |
api_key=os.environ['GROQ_API_KEY'],
|
|
@@ -33,10 +33,12 @@ if "selected_model" not in st.session_state:
|
|
| 33 |
|
| 34 |
# Define model details
|
| 35 |
models = {
|
| 36 |
-
"
|
| 37 |
-
"
|
| 38 |
-
"
|
| 39 |
-
"
|
|
|
|
|
|
|
| 40 |
"mixtral-8x7b-32768": {
|
| 41 |
"name": "Mixtral-8x7b-Instruct-v0.1",
|
| 42 |
"tokens": 32768,
|
|
|
|
| 18 |
|
| 19 |
# icon("⚡️")
|
| 20 |
|
| 21 |
+
st.subheader("Groq Chat with LLaMA3.1 App", divider="rainbow", anchor=False)
|
| 22 |
|
| 23 |
client = Groq(
|
| 24 |
api_key=os.environ['GROQ_API_KEY'],
|
|
|
|
| 33 |
|
| 34 |
# Define model details
|
| 35 |
models = {
|
| 36 |
+
"llama-3.1-70b-versatile": {"name": "LLaMA3.1-70b", "tokens": 4096, "developer": "Meta"},
|
| 37 |
+
"llama-3.1-8b-instant": {"name": "LLaMA3.1-8b", "tokens": 4096, "developer": "Meta"},
|
| 38 |
+
"llama3-70b-8192": {"name": "Meta Llama 3 70B", "tokens": 4096, "developer": "Meta"},
|
| 39 |
+
"llama3-8b-8192": {"name": "Meta Llama 3 8B", "tokens": 4096, "developer": "Meta"},
|
| 40 |
+
"llama3-groq-70b-8192-tool-use-preview": {"name": "Llama 3 Groq 70B Tool Use (Preview)", "tokens": 4096, "developer": "Groq"},
|
| 41 |
+
"gemma-7b-it": {"name": "Gemma-7b-it", "tokens": 4096, "developer": "Google"},
|
| 42 |
"mixtral-8x7b-32768": {
|
| 43 |
"name": "Mixtral-8x7b-Instruct-v0.1",
|
| 44 |
"tokens": 32768,
|