DeFactOfficial commited on
Commit
fcff446
1 Parent(s): 63e9d2a

Update api.js

Browse files
Files changed (1) hide show
  1. api.js +1 -0
api.js CHANGED
@@ -8,6 +8,7 @@ const fetch = require('node-fetch');
8
  const { v4: uuidv4 } = require('uuid');
9
  const cors = require('cors');
10
  const {generateImage} = require('./image.js')
 
11
  const app = express();
12
  app.use(express.json()); // To parse JSON payloads
13
  app.use(cors()); // Enable CORS for all routes
 
8
  const { v4: uuidv4 } = require('uuid');
9
  const cors = require('cors');
10
  const {generateImage} = require('./image.js')
11
+ const {generateHtml} = require(./llm.js')
12
  const app = express();
13
  app.use(express.json()); // To parse JSON payloads
14
  app.use(cors()); // Enable CORS for all routes