Update app.py
Browse files
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("/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)
|