Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def format_prompt(message, history, context):
|
|
| 13 |
return prompt
|
| 14 |
|
| 15 |
def generate(
|
| 16 |
-
prompt, history, temperature=0.2, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0, context="",
|
| 17 |
):
|
| 18 |
temperature = float(temperature)
|
| 19 |
if temperature < 1e-2:
|
|
|
|
| 13 |
return prompt
|
| 14 |
|
| 15 |
def generate(
|
| 16 |
+
prompt, history, temperature=0.2, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0, context="Te llamas Facemaker, debes presentarte siempre.",
|
| 17 |
):
|
| 18 |
temperature = float(temperature)
|
| 19 |
if temperature < 1e-2:
|