Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Nov 10, 2024
1 parent f2667e1 commit 813e161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ async def sonnet(ctx, prompt: discord.Option(str, description="Der Prompt"), url
embed.description = (message.content[0].text[(4096*i):(4096*(i+1))])
await ctx.respond(embed=embed)
elif mimetypes.guess_type(file.filename)[0] == "application/pdf":
message = aclient.messages.create(
message = aclient.beta.messages.create(
model="claude-3-5-sonnet-latest",
betas=["pdfs-2024-09-25"],
max_tokens=8192,
Expand Down

0 comments on commit 813e161

Please sign in to comment.