Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,11 @@ def stream_chat(
|
|
| 53 |
message: str,
|
| 54 |
history: list,
|
| 55 |
system_prompt: str,
|
|
|
|
| 56 |
max_new_tokens: int = 1024,
|
|
|
|
|
|
|
|
|
|
| 57 |
):
|
| 58 |
print(f'message: {message}')
|
| 59 |
print(f'history: {history}')
|
|
|
|
| 53 |
message: str,
|
| 54 |
history: list,
|
| 55 |
system_prompt: str,
|
| 56 |
+
temperature: float = 0.8,
|
| 57 |
max_new_tokens: int = 1024,
|
| 58 |
+
top_p: float = 1.0,
|
| 59 |
+
top_k: int = 20,
|
| 60 |
+
penalty: float = 1.2,
|
| 61 |
):
|
| 62 |
print(f'message: {message}')
|
| 63 |
print(f'history: {history}')
|