Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
|
@@ -140,7 +140,7 @@ with gr.Blocks(title=title_v6) as demo:
|
|
| 140 |
with gr.Row():
|
| 141 |
submit = gr.Button("Submit", variant="primary")
|
| 142 |
clear = gr.Button("Clear", variant="secondary")
|
| 143 |
-
output = gr.Textbox(label="Output", lines=
|
| 144 |
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"])
|
| 145 |
submit.click(evaluate, [prompt, token_count, temperature, top_p, presence_penalty, count_penalty], [output])
|
| 146 |
clear.click(lambda: None, [], [output])
|
|
|
|
| 140 |
with gr.Row():
|
| 141 |
submit = gr.Button("Submit", variant="primary")
|
| 142 |
clear = gr.Button("Clear", variant="secondary")
|
| 143 |
+
output = gr.Textbox(label="Output", lines=20, max_lines=100)
|
| 144 |
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"])
|
| 145 |
submit.click(evaluate, [prompt, token_count, temperature, top_p, presence_penalty, count_penalty], [output])
|
| 146 |
clear.click(lambda: None, [], [output])
|