Skip to content

Question about replacing unique subject identifier #3

@harrybaines

Description

@harrybaines

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions