Spaces:
Runtime error
Runtime error
chore: debug messages print
Browse files
app.py
CHANGED
|
@@ -87,11 +87,13 @@ with st.sidebar:
|
|
| 87 |
if img_file_buffer:
|
| 88 |
# To read image file buffer as a PIL Image:
|
| 89 |
photo = Image.open(img_file_buffer)
|
| 90 |
-
|
|
|
|
| 91 |
st.text(f'{information} mode is ON!\nTarget 🧾: {receipt}') # \n(opening image @:./img/receipt-{receipt}.png)')
|
| 92 |
|
| 93 |
if photo:
|
| 94 |
image = photo
|
|
|
|
| 95 |
elif image_upload:
|
| 96 |
image = image_upload
|
| 97 |
else:
|
|
|
|
| 87 |
if img_file_buffer:
|
| 88 |
# To read image file buffer as a PIL Image:
|
| 89 |
photo = Image.open(img_file_buffer)
|
| 90 |
+
print("picture taken!")
|
| 91 |
+
|
| 92 |
st.text(f'{information} mode is ON!\nTarget 🧾: {receipt}') # \n(opening image @:./img/receipt-{receipt}.png)')
|
| 93 |
|
| 94 |
if photo:
|
| 95 |
image = photo
|
| 96 |
+
print("photo loaded to image")
|
| 97 |
elif image_upload:
|
| 98 |
image = image_upload
|
| 99 |
else:
|