mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 10:38:54 +00:00
Fix typos in SAM WASM example (#884)
This commit is contained in:
@ -20,7 +20,7 @@
|
||||
</style>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<script type="module">
|
||||
// base url for audio examples
|
||||
// base url for image examples
|
||||
const MODEL_BASEURL =
|
||||
"https://huggingface.co/lmz/candle-sam/resolve/main/";
|
||||
|
||||
@ -38,7 +38,7 @@
|
||||
async function segmentPoints(
|
||||
modelURL, // URL to the weights file
|
||||
modelID, // model ID
|
||||
imageURL, // URL to the audio file
|
||||
imageURL, // URL to the image file
|
||||
points // {x, y} points to prompt image
|
||||
) {
|
||||
return new Promise((resolve, reject) => {
|
||||
|
Reference in New Issue
Block a user