habdine commited on
Commit
6fe0865
1 Parent(s): 91a69bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.6,
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.1,
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,