ndurner commited on
Commit
26ba62d
·
1 Parent(s): 93b8c98

2 is temp max value

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -263,7 +263,7 @@ with gr.Blocks(delete_cache=(86400, 86400)) as demo:
263
  choices=["gpt-4-turbo", "gpt-4o-2024-08-06", "gpt-4o", "gpt-4o-mini", "gpt-4-turbo-preview", "gpt-4-1106-preview", "gpt-4", "gpt-4-vision-preview", "gpt-3.5-turbo", "gpt-3.5-turbo-16k", "gpt-3.5-turbo-1106", "whisper"])
264
  system_prompt = gr.TextArea("You are a helpful yet diligent AI assistant. Answer faithfully and factually correct. Respond with 'I do not know' if uncertain.", label="System Prompt", lines=3, max_lines=250, elem_id="system_prompt")
265
  seed = gr.Textbox(label="Seed", elem_id="seed")
266
- temp = gr.Slider(0, 1, label="Temperature", elem_id="temp", value=1)
267
  max_tokens = gr.Slider(1, 16384, label="Max. Tokens", elem_id="max_tokens", value=800)
268
  save_button = gr.Button("Save Settings")
269
  load_button = gr.Button("Load Settings")
 
263
  choices=["gpt-4-turbo", "gpt-4o-2024-08-06", "gpt-4o", "gpt-4o-mini", "gpt-4-turbo-preview", "gpt-4-1106-preview", "gpt-4", "gpt-4-vision-preview", "gpt-3.5-turbo", "gpt-3.5-turbo-16k", "gpt-3.5-turbo-1106", "whisper"])
264
  system_prompt = gr.TextArea("You are a helpful yet diligent AI assistant. Answer faithfully and factually correct. Respond with 'I do not know' if uncertain.", label="System Prompt", lines=3, max_lines=250, elem_id="system_prompt")
265
  seed = gr.Textbox(label="Seed", elem_id="seed")
266
+ temp = gr.Slider(0, 2, label="Temperature", elem_id="temp", value=1)
267
  max_tokens = gr.Slider(1, 16384, label="Max. Tokens", elem_id="max_tokens", value=800)
268
  save_button = gr.Button("Save Settings")
269
  load_button = gr.Button("Load Settings")