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

Fix quotes #368

Open
coyotte508 opened this issue Apr 19, 2023 · 0 comments
Open

Fix quotes #368

coyotte508 opened this issue Apr 19, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@coyotte508
Copy link
Member

coyotte508 commented Apr 19, 2023

[vite-plugin-svelte] /tmp/tmpn5ql31ys/kit/src/routes/inference/classes/HfInference.mdx:1499:157 Unexpected character '“'
file: /tmp/tmpn5ql31ys/kit/src/routes/inference/classes/HfInference.mdx:1499:157
 1497 |  <td
 1498 |    align="left"
 1499 |  >The inputs vary based on the model. For example when using sentence-transformers/paraphrase-xlm-r-multilingual-v1 the inputs will look like this: inputs: { “source_sentence”: “That is a happy person”, “sentences”: [“That is a happy dog”, “That is a very happy person”, “Today is a sunny day”] }</td>

It doesn't like quotes there for some reason

CI: https://github.com/huggingface/huggingface.js/actions/runs/4742393502/jobs/8420611305

Source markdown:

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `args` | `Object` | - |
| `args.inputs` | `Record`<`string`, `unknown`\> \| `Record`<`string`, `unknown`\>[] | The inputs vary based on the model. For example when using sentence-transformers/paraphrase-xlm-r-multilingual-v1 the inputs will look like this: inputs: &#123; "source_sentence": "That is a happy person", "sentences": ["That is a happy dog", "That is a very happy person", "Today is a sunny day"] &#125; |
| `args.model` | `string` | The model to use. Can be a full URL for HF inference endpoints. |
| `options?` | [`Options`](../interfaces/Options) | - |
@coyotte508 coyotte508 added the bug Something isn't working label Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant