kusumakar commited on
Commit
49f1031
·
1 Parent(s): 98717d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,11 +47,11 @@ def main():
47
  image = Image.open(uploaded_file).convert("RGB")
48
 
49
  # context as prompt
50
- prompt = generate_captions(image)
51
  st.write("The Context is:", prompt)
52
 
53
  # display the image
54
- st.image(image, width=500, height=400)
55
 
56
  # Generate button
57
  if st.button("Generate"):
 
47
  image = Image.open(uploaded_file).convert("RGB")
48
 
49
  # context as prompt
50
+ prompt = generate_captions(uploaded_file)
51
  st.write("The Context is:", prompt)
52
 
53
  # display the image
54
+ st.image(image)
55
 
56
  # Generate button
57
  if st.button("Generate"):