Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,8 +43,10 @@ class GroqAgent:
|
|
| 43 |
self.agent = None
|
| 44 |
return
|
| 45 |
|
|
|
|
|
|
|
| 46 |
model = OpenAIServerModel(
|
| 47 |
-
model_id="
|
| 48 |
api_base="https://api.groq.com/openai/v1",
|
| 49 |
api_key=self.api_key
|
| 50 |
)
|
|
|
|
| 43 |
self.agent = None
|
| 44 |
return
|
| 45 |
|
| 46 |
+
# 原本是 llama-3.3-70b-versatile
|
| 47 |
+
# 請改成下面這個:
|
| 48 |
model = OpenAIServerModel(
|
| 49 |
+
model_id="mixtral-8x7b-32768", # <--- 改用這個速度最快的模型
|
| 50 |
api_base="https://api.groq.com/openai/v1",
|
| 51 |
api_key=self.api_key
|
| 52 |
)
|