Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
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=
|
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])
|