Daemontatox commited on
Commit
057bf41
·
verified ·
1 Parent(s): b73fd74

Update app.py

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