Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def generate(
|
|
37 |
message: str,
|
38 |
chat_history: list[dict],
|
39 |
max_new_tokens: int = 1024,
|
40 |
-
temperature: float = 0.
|
41 |
top_p: float = 0.9,
|
42 |
top_k: int = 50,
|
43 |
repetition_penalty: float = 1.2,
|
@@ -84,7 +84,7 @@ chat_interface = gr.ChatInterface(
|
|
84 |
),
|
85 |
gr.Slider(
|
86 |
label="Temperature",
|
87 |
-
minimum=0.
|
88 |
maximum=4.0,
|
89 |
step=0.1,
|
90 |
value=0.6,
|
|
|
37 |
message: str,
|
38 |
chat_history: list[dict],
|
39 |
max_new_tokens: int = 1024,
|
40 |
+
temperature: float = 0.0,
|
41 |
top_p: float = 0.9,
|
42 |
top_k: int = 50,
|
43 |
repetition_penalty: float = 1.2,
|
|
|
84 |
),
|
85 |
gr.Slider(
|
86 |
label="Temperature",
|
87 |
+
minimum=0.0,
|
88 |
maximum=4.0,
|
89 |
step=0.1,
|
90 |
value=0.6,
|