Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def stream_chat(message: str, history: list, temperature: float, max_new_tokens:
|
|
51 |
query = message,
|
52 |
history = history,
|
53 |
max_new_tokens = max_new_tokens,
|
54 |
-
do_sample = True if temperature == 0 else False
|
55 |
top_p = top_p,
|
56 |
top_k = top_k,
|
57 |
temperature = temperature,
|
|
|
51 |
query = message,
|
52 |
history = history,
|
53 |
max_new_tokens = max_new_tokens,
|
54 |
+
do_sample = True if temperature == 0 else False,
|
55 |
top_p = top_p,
|
56 |
top_k = top_k,
|
57 |
temperature = temperature,
|