Spaces:
Sleeping
Sleeping
DeepMount00
commited on
Commit
•
979c1be
1
Parent(s):
6b8d341
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ h1 {
|
|
35 |
@spaces.GPU(duration=120)
|
36 |
def chat_llama3_8b(message: str, history: list, temperature: float, max_new_tokens: int) -> str:
|
37 |
# Initialize the conversation with a system prompt
|
38 |
-
conversation = [{"role": "system", "content": "Sei un assistente specializzato nella lingua italiana.
|
39 |
|
40 |
# Add historical conversation
|
41 |
for user, assistant in history:
|
|
|
35 |
@spaces.GPU(duration=120)
|
36 |
def chat_llama3_8b(message: str, history: list, temperature: float, max_new_tokens: int) -> str:
|
37 |
# Initialize the conversation with a system prompt
|
38 |
+
conversation = [{"role": "system", "content": "Sei un assistente specializzato nella lingua italiana."}]
|
39 |
|
40 |
# Add historical conversation
|
41 |
for user, assistant in history:
|