gitdeem commited on
Commit
59bce23
·
verified ·
1 Parent(s): 4c8f35d

Upload app.js

Browse files
Files changed (1) hide show
  1. app.js +2 -2
app.js CHANGED
@@ -56,7 +56,7 @@ app.post("/deem/v1/chat/completions", async (req, res) => {
56
  fs.writeFileSync(filePath, imageBuffer);
57
 
58
  // 构建本地图片URL
59
- const imgUrl = `/images/${fileName}`;
60
 
61
  console.log(imgUrl);
62
 
@@ -115,7 +115,7 @@ app.post("/deem/v1/images/generations", async (req, res) => {
115
  fs.writeFileSync(filePath, imageBuffer);
116
 
117
  // 构建本地图片URL
118
- const imgUrl = `/images/${fileName}`;
119
 
120
  console.log(imgUrl);
121
 
 
56
  fs.writeFileSync(filePath, imageBuffer);
57
 
58
  // 构建本地图片URL
59
+ const imgUrl = `https://gitdeem-flux.hf.space/images/${fileName}`;
60
 
61
  console.log(imgUrl);
62
 
 
115
  fs.writeFileSync(filePath, imageBuffer);
116
 
117
  // 构建本地图片URL
118
+ const imgUrl = `https://gitdeem-flux.hf.space/images/${fileName}`;
119
 
120
  console.log(imgUrl);
121