Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -81,10 +81,10 @@ def stream_chat(
|
|
81 |
message: str,
|
82 |
history: list,
|
83 |
system_prompt: str,
|
84 |
-
temperature: float = 0.
|
85 |
max_new_tokens: int = 4096,
|
86 |
top_p: float = 1.0,
|
87 |
-
top_k: int =
|
88 |
penalty: float = 1.1,
|
89 |
):
|
90 |
print(f'\nNew Chat Request:')
|
|
|
81 |
message: str,
|
82 |
history: list,
|
83 |
system_prompt: str,
|
84 |
+
temperature: float = 0.8,
|
85 |
max_new_tokens: int = 4096,
|
86 |
top_p: float = 1.0,
|
87 |
+
top_k: int = 50,
|
88 |
penalty: float = 1.1,
|
89 |
):
|
90 |
print(f'\nNew Chat Request:')
|