BlinkDL commited on
Commit
c3444ac
1 Parent(s): 008b546

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -284,7 +284,7 @@ with gr.Blocks(title=title) as demo:
284
  with gr.Row():
285
  submit = gr.Button("Submit", variant="primary")
286
  clear = gr.Button("Clear", variant="secondary")
287
- output = gr.Textbox(label="Output", lines=5)
288
  data = gr.Dataset(components=[prompt, token_count, temperature, top_p, presence_penalty, count_penalty], samples=examples, samples_per_page=50, label="Example Instructions", headers=["Prompt", "Max Tokens", "Temperature", "Top P", "Presence Penalty", "Count Penalty"])
289
  submit.click(evaluate, [prompt, token_count, temperature, top_p, presence_penalty, count_penalty], [output])
290
  clear.click(lambda: None, [], [output])
 
284
  with gr.Row():
285
  submit = gr.Button("Submit", variant="primary")
286
  clear = gr.Button("Clear", variant="secondary")
287
+ output = gr.Textbox(label="Output", lines=30)
288
  data = gr.Dataset(components=[prompt, token_count, temperature, top_p, presence_penalty, count_penalty], samples=examples, samples_per_page=50, label="Example Instructions", headers=["Prompt", "Max Tokens", "Temperature", "Top P", "Presence Penalty", "Count Penalty"])
289
  submit.click(evaluate, [prompt, token_count, temperature, top_p, presence_penalty, count_penalty], [output])
290
  clear.click(lambda: None, [], [output])