AppleBotzz commited on
Commit
21ef45f
1 Parent(s): 9a645c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import anthropic
7
  from anthropic import Anthropic
8
 
9
  def image_to_base64(image_path):
10
- """Convert the uploaded image to base64."""
11
  with open(image_path, "rb") as image_file:
12
  image_data = image_file.read()
13
  return base64.b64encode(image_data).decode("utf-8")
 
7
  from anthropic import Anthropic
8
 
9
  def image_to_base64(image_path):
10
+ """Convert the image to base64."""
11
  with open(image_path, "rb") as image_file:
12
  image_data = image_file.read()
13
  return base64.b64encode(image_data).decode("utf-8")