Spaces:
Sleeping
Sleeping
Set few-shot parameters
Browse files
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
|