davidna22 commited on
Commit
78f21f0
·
1 Parent(s): 145e258

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -201,8 +201,8 @@ with gr.Blocks() as demo:
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)
@@ -238,7 +238,7 @@ with gr.Blocks() as demo:
238
  with gr.Accordion("Additional Parameters", open=False):
239
  num_responses = gr.Slider(label= "Number of total fake Tweets to generate", value=20, minimum=20, maximum=500, step=5)
240
  n = gr.Slider(label="Number of Tweets to return per API call (smaller = More randomized answers)", value=1, minimum=1, maximum=50, step=1)
241
- system_prompt = gr.Dropdown(label="",
242
  value=BotSimulator.assistant_prompt,
243
  choices=[
244
  BotSimulator.assistant_prompt,
 
201
  "gpt-4-0314",
202
  "gpt-4-32k",
203
  "gpt-4-32k-0314"])
204
+ temperature = gr.Slider(label="Set Your Temperature (0.0-1.7 ~ 1.7-2.0 causes errors) WARNING: Temperature above 1.5 tends to produce gibberish 50% of the time.",
205
+ value=1.4,
206
  minimum=0.0,
207
  maximum=1.7,
208
  step=0.1)
 
238
  with gr.Accordion("Additional Parameters", open=False):
239
  num_responses = gr.Slider(label= "Number of total fake Tweets to generate", value=20, minimum=20, maximum=500, step=5)
240
  n = gr.Slider(label="Number of Tweets to return per API call (smaller = More randomized answers)", value=1, minimum=1, maximum=50, step=1)
241
+ system_prompt = gr.Dropdown(label="Select the system prompt for the model (This is what Open AI uses to assist the model in text generation):",
242
  value=BotSimulator.assistant_prompt,
243
  choices=[
244
  BotSimulator.assistant_prompt,