m7mdal7aj commited on
Commit
f20e4a0
1 Parent(s): 73c26b4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -75,6 +75,7 @@ def image_qa_app(kbvqa_model):
75
  st.session_state['answer_in_progress'] = False
76
 
77
  uploaded_image = st.file_uploader("Or upload an Image", type=["png", "jpg", "jpeg"])
 
78
  if uploaded_image is not None:
79
  st.session_state['current_image'] = uploaded_image
80
  st.session_state['qa_history'] = []
 
75
  st.session_state['answer_in_progress'] = False
76
 
77
  uploaded_image = st.file_uploader("Or upload an Image", type=["png", "jpg", "jpeg"])
78
+ st.image(uploaded_image, use_column_width=True)
79
  if uploaded_image is not None:
80
  st.session_state['current_image'] = uploaded_image
81
  st.session_state['qa_history'] = []