Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,9 +14,7 @@ def format_prompt(message, history):
|
|
14 |
def generate(
|
15 |
prompt, history, temperature=0.2, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0,
|
16 |
):
|
17 |
-
|
18 |
-
language = "de"
|
19 |
-
|
20 |
temperature = float(temperature)
|
21 |
if temperature < 1e-2:
|
22 |
temperature = 1e-2
|
|
|
14 |
def generate(
|
15 |
prompt, history, temperature=0.2, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0,
|
16 |
):
|
17 |
+
|
|
|
|
|
18 |
temperature = float(temperature)
|
19 |
if temperature < 1e-2:
|
20 |
temperature = 1e-2
|