Skip to content

Commit

Permalink
🐛 fix demo
Browse files Browse the repository at this point in the history
  • Loading branch information
a-tokyo committed Dec 9, 2024
1 parent b87f040 commit 29e6d3f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions demo/src/Demo/Demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,18 @@ const data = [
/** Configuration (optional) */
const config = {
provider: '${provider}',
model: '${model}',
similarity: '${similarity}',
};
/** Perform classification */
classify({ labels, data, config, apiKey })
classify({
provider: '${provider}',
model: '${model}',
labels,
data,
config,
apiKey
})
.then((results) => {
console.log(results);
})
Expand Down

0 comments on commit 29e6d3f

Please sign in to comment.