Update app.py
Browse files
app.py
CHANGED
@@ -180,7 +180,8 @@ with gr.Blocks(theme=gr.themes.Default(), css='styles.css') as demo:
|
|
180 |
interpretation_prompt = gr.Text(suggested_interpretation_prompts[0], label='Interpretation Prompt')
|
181 |
interpretation_prompt_examples = gr.Examples([[p] for p in suggested_interpretation_prompts],
|
182 |
[interpretation_prompt], cache_examples=False)
|
183 |
-
|
|
|
184 |
with gr.Row():
|
185 |
num_tokens = gr.Slider(1, 100, step=1, value=20, label='Max. # of Tokens')
|
186 |
repetition_penalty = gr.Slider(1., 10., value=1, label='Repetition Penalty')
|
|
|
180 |
interpretation_prompt = gr.Text(suggested_interpretation_prompts[0], label='Interpretation Prompt')
|
181 |
interpretation_prompt_examples = gr.Examples([[p] for p in suggested_interpretation_prompts],
|
182 |
[interpretation_prompt], cache_examples=False)
|
183 |
+
|
184 |
+
with gr.Accordion(open=False, label='Generation Settings'):
|
185 |
with gr.Row():
|
186 |
num_tokens = gr.Slider(1, 100, step=1, value=20, label='Max. # of Tokens')
|
187 |
repetition_penalty = gr.Slider(1., 10., value=1, label='Repetition Penalty')
|