Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ def generate(
|
|
| 37 |
message: str,
|
| 38 |
chat_history: list[dict],
|
| 39 |
max_new_tokens: int = 1024,
|
| 40 |
-
temperature: float = 0.
|
| 41 |
) -> Iterator[str]:
|
| 42 |
conversation = chat_history.copy()
|
| 43 |
conversation.append({"role": "user", "content": message})
|
|
|
|
| 37 |
message: str,
|
| 38 |
chat_history: list[dict],
|
| 39 |
max_new_tokens: int = 1024,
|
| 40 |
+
temperature: float = 0.01,
|
| 41 |
) -> Iterator[str]:
|
| 42 |
conversation = chat_history.copy()
|
| 43 |
conversation.append({"role": "user", "content": message})
|