adil9858 commited on
Commit
e3979e6
ยท
verified ยท
1 Parent(s): b3af97b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -1,4 +1,6 @@
1
  import streamlit as st
 
 
2
  import requests
3
  import base64
4
  from PIL import Image
@@ -71,8 +73,8 @@ st.markdown(
71
  margin-bottom: 40px;
72
  }
73
  </style>
74
- <div class="main-header">๐Ÿ”ฎ Welcome to AI Vision: The Future of Image Insights</div>
75
- <div class="sub-header">Where Images Come to Life with AI-Powered Explanations</div>
76
  """,
77
  unsafe_allow_html=True
78
  )
@@ -92,7 +94,7 @@ if img_file_buffer:
92
  # Display captured image
93
  image = Image.open(img_file_buffer)
94
  st.markdown(styled_header("๐Ÿ“ธ Your Captured Image:"), unsafe_allow_html=True)
95
- st.image(image, caption="Captured Image", use_column_width=True)
96
 
97
  st.markdown(styled_header("๐Ÿค– Image Analysis:"), unsafe_allow_html=True)
98
  with st.spinner("๐Ÿ” The AI is analyzing your image. Please wait..."):
 
1
  import streamlit as st
2
+ import warnings
3
+ warnings.filterwarnings('ignore')
4
  import requests
5
  import base64
6
  from PIL import Image
 
73
  margin-bottom: 40px;
74
  }
75
  </style>
76
+ <div class="main-header">๐Ÿ”ฎ ImageX</div>
77
+ <div class="sub-header">Image Data Uncovered</div>
78
  """,
79
  unsafe_allow_html=True
80
  )
 
94
  # Display captured image
95
  image = Image.open(img_file_buffer)
96
  st.markdown(styled_header("๐Ÿ“ธ Your Captured Image:"), unsafe_allow_html=True)
97
+ #st.image(image, caption="Captured Image", use_column_width=True)
98
 
99
  st.markdown(styled_header("๐Ÿค– Image Analysis:"), unsafe_allow_html=True)
100
  with st.spinner("๐Ÿ” The AI is analyzing your image. Please wait..."):