Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
|
|
|
|
|
|
|
|
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)
|