Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def format_prompt(message, history):
|
|
| 20 |
|
| 21 |
|
| 22 |
def generate(
|
| 23 |
-
prompt, history, temperature=0.
|
| 24 |
):
|
| 25 |
temperature = float(temperature)
|
| 26 |
if temperature < 1e-2:
|
|
|
|
| 20 |
|
| 21 |
|
| 22 |
def generate(
|
| 23 |
+
prompt, history, temperature=0.5, max_new_tokens=1048, top_p=0.95, repetition_penalty=1.0,
|
| 24 |
):
|
| 25 |
temperature = float(temperature)
|
| 26 |
if temperature < 1e-2:
|