alexkueck commited on
Commit
20697e4
1 Parent(s): a453e04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -167,7 +167,7 @@ def process_image(image_path, prompt):
167
 
168
  # Convert image to base64
169
  #with open(image_path, "rb") as image_file:
170
- with open("/data/history/bbb_1.png", "rb") as image_file:
171
  encoded_string = b64encode(image_file.read()).decode()
172
  print ("necoded string.................")
173
  print(encoded_string)
 
167
 
168
  # Convert image to base64
169
  #with open(image_path, "rb") as image_file:
170
+ with open("/home/user/app/data/history/bbb_1.png", "rb") as image_file:
171
  encoded_string = b64encode(image_file.read()).decode()
172
  print ("necoded string.................")
173
  print(encoded_string)