Rooni commited on
Commit
4dd5746
·
verified ·
1 Parent(s): 3136de0

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +5 -4
server.js CHANGED
@@ -73,11 +73,12 @@ app.post('/gen', upload.single('image'), async (req, res) => {
73
  "type": "text",
74
  "text": prompt,
75
  },
76
- {
77
- "type": "image_url",
78
- "image": img,
79
- },
80
  ],
 
 
 
 
 
81
  }
82
  ],
83
  };
 
73
  "type": "text",
74
  "text": prompt,
75
  },
 
 
 
 
76
  ],
77
+ },
78
+
79
+ {
80
+ "role": "user",
81
+ "content": img,
82
  }
83
  ],
84
  };