Spaces:
Sleeping
Sleeping
feat: Change the used LLM
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def llama3_1_8B(question):
|
|
9 |
messages = [
|
10 |
{"role": "user", "content": question},
|
11 |
]
|
12 |
-
pipe = pipeline("text-generation", model="
|
13 |
responses = pipe(messages)
|
14 |
return str(responses)
|
15 |
|
|
|
9 |
messages = [
|
10 |
{"role": "user", "content": question},
|
11 |
]
|
12 |
+
pipe = pipeline("text-generation", model="NousResearch/Hermes-3-Llama-3.1-8B")
|
13 |
responses = pipe(messages)
|
14 |
return str(responses)
|
15 |
|