alexkueck commited on
Commit
93f3fd4
1 Parent(s): 67a7465

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -161,7 +161,7 @@ def umwandeln_fuer_anzeige(image):
161
  def process_image(image_path, prompt):
162
  # Convert image to base64
163
  with open(image_path, "rb") as image_file:
164
- encoded_string = base64.b64encode(image_file.read()).decode()
165
 
166
  # Prepare the data for the API request (specific to the API you're using)
167
  data = {
 
161
  def process_image(image_path, prompt):
162
  # Convert image to base64
163
  with open(image_path, "rb") as image_file:
164
+ encoded_string = b64encode(image_file.read()).decode()
165
 
166
  # Prepare the data for the API request (specific to the API you're using)
167
  data = {