Open harrybaines opened 1 year ago
I was following the guidance here, and the suggestion was to replace the unique subject identifier before sending the prompt to the Hugging Face API.
I was slightly confused about what this was for. For example if we do the following:
'a photo of abraza'.replace(/raza/gi, 'abraza')
that would give:
'a photo of ababraza'
and if 'abraza' wasn't provided in the initial prompt, 'abraza' wouldn't be present in the prompt before POSTing to the API. Is this correct?
Oops, that's my bad, it's supposed to replace mentions of "raza" with "abraza", gonna fix that soon
I was following the guidance here, and the suggestion was to replace the unique subject identifier before sending the prompt to the Hugging Face API.
I was slightly confused about what this was for. For example if we do the following:
that would give:
and if 'abraza' wasn't provided in the initial prompt, 'abraza' wouldn't be present in the prompt before POSTing to the API. Is this correct?