Spaces:
Running
Running
DeFactOfficial
commited on
Commit
•
65ed4d4
1
Parent(s):
72d3175
Update image.js
Browse files
image.js
CHANGED
@@ -8,7 +8,7 @@ const { HfInference } = require("@huggingface/inference");
|
|
8 |
require("dotenv").config()
|
9 |
|
10 |
// Cache directory to store generated images
|
11 |
-
const CACHE_DIR =
|
12 |
|
13 |
|
14 |
if (!fs.existsSync(CACHE_DIR)) {
|
|
|
8 |
require("dotenv").config()
|
9 |
|
10 |
// Cache directory to store generated images
|
11 |
+
const CACHE_DIR = `public/image_out`
|
12 |
|
13 |
|
14 |
if (!fs.existsSync(CACHE_DIR)) {
|