pablo-rf commited on
Commit
0d3a5ff
1 Parent(s): d10611d

Set few-shot parameters

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ def pass_to_input(generated_gl):
67
  None,
68
  )
69
 
70
- def fewshot_prompt_parameters():
71
  return (
72
  gr.update(value=20), # max_length
73
  gr.update(value=1) # repetition_penalty
 
67
  None,
68
  )
69
 
70
+ def fewshot_prompt_parameters(text):
71
  return (
72
  gr.update(value=20), # max_length
73
  gr.update(value=1) # repetition_penalty