Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,6 @@ def format_prompt(message, history):
|
|
13 |
return prompt
|
14 |
|
15 |
def generate(prompt, history, system_prompt, temperature=0.9, max_new_tokens=9048, top_p=0.95, repetition_penalty=1.0):
|
16 |
-
|
17 |
temperature = max(float(temperature), 1e-2)
|
18 |
top_p = float(top_p)
|
19 |
|
|
|
13 |
return prompt
|
14 |
|
15 |
def generate(prompt, history, system_prompt, temperature=0.9, max_new_tokens=9048, top_p=0.95, repetition_penalty=1.0):
|
|
|
16 |
temperature = max(float(temperature), 1e-2)
|
17 |
top_p = float(top_p)
|
18 |
|