JBDef commited on
Commit
1732fee
1 Parent(s): 3b7b1ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ def main():
8
 
9
  with st.form("text_field"):
10
  file = st.file_uploader("Upload image", type=["jpg", "png"] )
11
- img = Image.open(image_file)
12
  image = st.image(img)
13
  text_input = st.text_input("Enter some question :")
14
  # clicked==True only when the button is clicked
 
8
 
9
  with st.form("text_field"):
10
  file = st.file_uploader("Upload image", type=["jpg", "png"] )
11
+ img = Image.open(file)
12
  image = st.image(img)
13
  text_input = st.text_input("Enter some question :")
14
  # clicked==True only when the button is clicked