Update app.py
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ def chat_llama3_8b(message: str,
|
|
75 |
max_new_tokens: int
|
76 |
) -> str:
|
77 |
|
78 |
-
x = str_to_json(str(message)
|
79 |
conversation = x['messages']
|
80 |
# for user, assistant in history:
|
81 |
# conversation.extend([{"role": "user", "content": user}, {"role": "assistant", "content": assistant}])
|
|
|
75 |
max_new_tokens: int
|
76 |
) -> str:
|
77 |
|
78 |
+
x = str_to_json(str(message))
|
79 |
conversation = x['messages']
|
80 |
# for user, assistant in history:
|
81 |
# conversation.extend([{"role": "user", "content": user}, {"role": "assistant", "content": assistant}])
|