ysdede commited on
Commit
6c8ea90
·
1 Parent(s): 0c60506

fix(hf-demo): Correctly pass filenames for external model data

Browse files
Files changed (1) hide show
  1. src/App.js +2 -1
src/App.js CHANGED
@@ -60,7 +60,8 @@ export default function App() {
60
 
61
  // 2. Create the model instance with all file URLs
62
  modelRef.current = await ParakeetModel.fromUrls({
63
- ...modelUrls.urls,
 
64
  backend,
65
  });
66
 
 
60
 
61
  // 2. Create the model instance with all file URLs
62
  modelRef.current = await ParakeetModel.fromUrls({
63
+ ...modelUrls.urls,
64
+ filenames: modelUrls.filenames, // Pass the filenames object
65
  backend,
66
  });
67