Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -145,7 +145,7 @@ def chat_response(
|
|
145 |
history: List[List[str]],
|
146 |
chat_display: str,
|
147 |
system_prompt: str,
|
148 |
-
temperature: float = 0
|
149 |
max_new_tokens: int = 8192,
|
150 |
top_p: float = 0.8,
|
151 |
top_k: int = 40,
|
@@ -232,7 +232,7 @@ def main():
|
|
232 |
minimum=0,
|
233 |
maximum=1,
|
234 |
step=0.1,
|
235 |
-
value=0
|
236 |
label="Temperature",
|
237 |
)
|
238 |
max_tokens = gr.Slider(
|
|
|
145 |
history: List[List[str]],
|
146 |
chat_display: str,
|
147 |
system_prompt: str,
|
148 |
+
temperature: float = 0,
|
149 |
max_new_tokens: int = 8192,
|
150 |
top_p: float = 0.8,
|
151 |
top_k: int = 40,
|
|
|
232 |
minimum=0,
|
233 |
maximum=1,
|
234 |
step=0.1,
|
235 |
+
value=0,
|
236 |
label="Temperature",
|
237 |
)
|
238 |
max_tokens = gr.Slider(
|