2023-01-28 23:00:51 -03:00
|
|
|
params = {
|
|
|
|
|
"input suffix": " *I say as I make a funny face*",
|
|
|
|
|
}
|
|
|
|
|
|
2023-01-27 00:40:39 -03:00
|
|
|
def input_modifier(string):
|
|
|
|
|
"""
|
|
|
|
|
This function is applied to your text inputs before
|
|
|
|
|
they are fed into the model.
|
|
|
|
|
"""
|
|
|
|
|
|
2023-01-28 23:00:51 -03:00
|
|
|
return string + params["input suffix"]
|
2023-01-27 00:40:39 -03:00
|
|
|
|
|
|
|
|
def output_modifier(string):
|
|
|
|
|
"""
|
|
|
|
|
This function is applied to the model outputs.
|
|
|
|
|
"""
|
|
|
|
|
|
2023-01-28 23:00:51 -03:00
|
|
|
return string
|