DeFactOfficial commited on
Commit
242ffe8
1 Parent(s): ca25c5d

Update retrievers/community_diffusion_models.js

Browse files
retrievers/community_diffusion_models.js CHANGED
@@ -1,6 +1,6 @@
1
  const fs = require('fs');
2
  // Read and Parse JSON Data
3
- const data = JSON.parse(fs.readFileSync('diffusers-unfiltered.json', 'utf8'));
4
  const makeReadable=(data)=>{
5
  return data.map(item=>{
6
  return {
 
1
  const fs = require('fs');
2
  // Read and Parse JSON Data
3
+ const data = JSON.parse(fs.readFileSync(__dirname+'/diffusers-unfiltered.json', 'utf8'));
4
  const makeReadable=(data)=>{
5
  return data.map(item=>{
6
  return {