Soumen commited on
Commit
cb6a8b6
1 Parent(s): 4c1b17d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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