Spaces:
Running
Running
fix(hf-demo): Correctly pass filenames for external model data
Browse files- 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 |
|