Soumen commited on
Commit
c7a598d
·
1 Parent(s): 0e16a66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,10 +86,10 @@ def bansum(text):
86
  """ NLP Based Application with Streamlit """
87
  if "photo" not in st.session_state:
88
  st.session_state["photo"]="not done"
 
89
  def change_photo_state():
90
  st.session_state["photo"]="done"
91
  message = st.text_input("Type your text here!")
92
- c2, c3 = st.columns([2.5,1])
93
  camera_photo = c2.camera_input("Capture a photo to summarize: ", on_change=change_photo_state)
94
  uploaded_photo = c3.file_uploader("Upload your Images/PDF",type=['jpg','png','jpeg','pdf'], on_change=change_photo_state)
95
  if st.session_state["photo"]=="done" or message:
 
86
  """ NLP Based Application with Streamlit """
87
  if "photo" not in st.session_state:
88
  st.session_state["photo"]="not done"
89
+ c2, c3 = st.columns([2.5,1])
90
  def change_photo_state():
91
  st.session_state["photo"]="done"
92
  message = st.text_input("Type your text here!")
 
93
  camera_photo = c2.camera_input("Capture a photo to summarize: ", on_change=change_photo_state)
94
  uploaded_photo = c3.file_uploader("Upload your Images/PDF",type=['jpg','png','jpeg','pdf'], on_change=change_photo_state)
95
  if st.session_state["photo"]=="done" or message: