davidna22 commited on
Commit
145e258
1 Parent(s): f3a5ad0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -201,7 +201,11 @@ with gr.Blocks() as demo:
201
  "gpt-4-0314",
202
  "gpt-4-32k",
203
  "gpt-4-32k-0314"])
204
- temperature = gr.Number(label="Set Your Temperature (0.0-2.0)", value=1.2)
 
 
 
 
205
  with gr.Accordion("Additional Parameters", open=False):
206
  topic_prompt = gr.Textbox(label="Enter the Topic Prompt (Default Example below, Make sure the prompt has a ':' at the end):",
207
  value=topic_prompt_default)
 
201
  "gpt-4-0314",
202
  "gpt-4-32k",
203
  "gpt-4-32k-0314"])
204
+ temperature = gr.Slider(label="Set Your Temperature (0.0-2.0)",
205
+ value=1.2,
206
+ minimum=0.0,
207
+ maximum=1.7,
208
+ step=0.1)
209
  with gr.Accordion("Additional Parameters", open=False):
210
  topic_prompt = gr.Textbox(label="Enter the Topic Prompt (Default Example below, Make sure the prompt has a ':' at the end):",
211
  value=topic_prompt_default)