Update app.py
Browse files
app.py
CHANGED
@@ -123,6 +123,7 @@ def main():
|
|
123 |
if "photo" not in st.session_state:
|
124 |
st.session_state["photo"]="not done"
|
125 |
if st.session_state["photo"]=="done" or message:
|
|
|
126 |
if uploaded_photo.type=='application/pdf':
|
127 |
#file = uploaded_photo.read() # Read the data
|
128 |
#image_result = open(uploaded_photo.name, 'wb') # creates a writable image and later we can write the decoded result
|
|
|
123 |
if "photo" not in st.session_state:
|
124 |
st.session_state["photo"]="not done"
|
125 |
if st.session_state["photo"]=="done" or message:
|
126 |
+
text=" "
|
127 |
if uploaded_photo.type=='application/pdf':
|
128 |
#file = uploaded_photo.read() # Read the data
|
129 |
#image_result = open(uploaded_photo.name, 'wb') # creates a writable image and later we can write the decoded result
|