-
Notifications
You must be signed in to change notification settings - Fork 126
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
transformers.js support #479
Conversation
Markdown: Lightweight markup language for formatting plaintext, created by John Gruber in 2004. Differentiates from WYSIWYG editors; uses syntax like number signs and asterisks to format text. Visual Studio Code editor can display Markdown files. Markdown Syntax Example: Headings are denoted with "# Heading One", bold phrases use "this text is bold". Adapting to Markdown requires patience, especially for those used to WYSIWYG applications like Microsoft Word. Visual Studio Code editor can showcase Markdown formatting effectively.
|
/genai-review |
2 similar comments
/genai-review |
/genai-review |
/genai-describe |
8 similar comments
/genai-describe |
/genai-describe |
/genai-describe |
/genai-describe |
/genai-describe |
/genai-describe |
/genai-describe |
/genai-describe |
/genai-describe |
3 similar comments
/genai-describe |
/genai-describe |
/genai-describe |
@@ -45,10 +45,10 @@ export class TestHost implements Host { | |||
return resolve(".") | |||
} | |||
installFolder(): string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The method installFolder
has been changed to return this.projectFolder()
. Please ensure that this.projectFolder()
is always defined and does not throw an error. 🧐
generated by pr-review-commit
unhandled_error
resolvePath(...segments: string[]): string { | ||
throw new Error("Method not implemented.") | ||
resolvePath(...segments: string[]) { | ||
return resolve(...segments) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The method resolvePath
has been changed to return resolve(...segments)
. Please ensure that resolve
function is always defined and does not throw an error. 🧐
generated by pr-review-commit
unhandled_error
}) | ||
const out = (await pipe(text)) as TextClassificationOutput | ||
console.log(out) | ||
return out[0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The sentiment
function does not handle any errors that may occur during the execution of the pipeline
function or the pipe
function. Please add error handling to ensure the function fails gracefully. 😊
generated by pr-review-commit
unhandled_error
Hugging face transformer.js support.