Skip to content

Commit

Permalink
fix(example): getLoadedLoraAdapters usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Nov 21, 2024
1 parent 4446feb commit 6f11179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export default function App() {
if (loraFile)
context.applyLoraAdapters([{ path: loraFile.uri }])
})
.then(context.getLoadedLoraAdapters)
.then(() => context.getLoadedLoraAdapters())
.then((loraList) =>
addSystemMessage(
`Loaded lora adapters: ${JSON.stringify(loraList)}`,
Expand Down

0 comments on commit 6f11179

Please sign in to comment.