Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about replacing unique subject identifier #3

Open
harrybaines opened this issue Jan 10, 2023 · 1 comment
Open

Question about replacing unique subject identifier #3

harrybaines opened this issue Jan 10, 2023 · 1 comment

Comments

@harrybaines
Copy link

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?

@AlmostEfficient
Copy link

Oops, that's my bad, it's supposed to replace mentions of "raza" with "abraza", gonna fix that soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants