pablo-rf commited on
Commit
1c96356
1 Parent(s): a463d62

Set few-shot parameters

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -127,8 +127,8 @@ def gradio_app():
127
  gr.Examples(
128
  label = "Few-shot prompts",
129
  examples = few_shot_prompts_examples,
130
- inputs = [max_length, repetition_penalty],
131
- outputs = [int(max_length), int(repetition_penalty)],
132
  fn =fewshot_prompt_parameters
133
  )
134
 
 
127
  gr.Examples(
128
  label = "Few-shot prompts",
129
  examples = few_shot_prompts_examples,
130
+ inputs = [],
131
+ outputs = [max_length, repetition_penalty],
132
  fn =fewshot_prompt_parameters
133
  )
134