Update imageDescription.ts
This commit is contained in:
parent
00941d94a4
commit
ed5dc808c7
@ -49,16 +49,6 @@ export async function getImageDescription(
|
||||
});
|
||||
|
||||
return response.content[0].text;
|
||||
|
||||
// const response = await anthropic.messages.create({
|
||||
// messages: [
|
||||
// {
|
||||
// role: "user",
|
||||
// content: prompt,
|
||||
// },
|
||||
// ],
|
||||
// });
|
||||
|
||||
}
|
||||
default: {
|
||||
if (!process.env.OPENAI_API_KEY) {
|
||||
|
Loading…
Reference in New Issue
Block a user