Spaces:
Running
Running
DeFactOfficial
commited on
Commit
•
37201f2
1
Parent(s):
fcff446
Update api.js
Browse files
api.js
CHANGED
@@ -8,7 +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 {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
|
|
|
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
|