Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def format_prompt(message, history):
|
|
28 |
return prompt
|
29 |
|
30 |
def generate(
|
31 |
-
prompt, history, temperature=0.9, max_new_tokens=
|
32 |
):
|
33 |
database = load_database() # Load the database
|
34 |
temperature = float(temperature)
|
|
|
28 |
return prompt
|
29 |
|
30 |
def generate(
|
31 |
+
prompt, history, temperature=0.9, max_new_tokens=4096, top_p=0.9, repetition_penalty=1.2,
|
32 |
):
|
33 |
database = load_database() # Load the database
|
34 |
temperature = float(temperature)
|