adil9858 commited on
Commit
d9a8c7f
Β·
verified Β·
1 Parent(s): 7dcb1ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -93,14 +93,14 @@ img_file_buffer = st.camera_input("πŸš€ Capture Your Image Here")
93
  # Text prompt input
94
  user_prompt = st.text_input(
95
  "πŸ“ Enter your prompt (e.g., 'Explain the image', 'What are the functions in this graph?', 'Describe the scene'):",
96
- value="Explain the image in 10 words only"
97
  )
98
 
99
  if img_file_buffer and user_prompt:
100
  # Display captured image
101
  image = Image.open(img_file_buffer)
102
- st.markdown(styled_header("πŸ“Έ Your Captured Image:"), unsafe_allow_html=True)
103
- st.image(image, caption="Captured Image", use_column_width=True)
104
 
105
  st.markdown(styled_header("πŸ€– Image Analysis:"), unsafe_allow_html=True)
106
  with st.spinner("πŸ” The AI is analyzing your image. Please wait..."):
 
93
  # Text prompt input
94
  user_prompt = st.text_input(
95
  "πŸ“ Enter your prompt (e.g., 'Explain the image', 'What are the functions in this graph?', 'Describe the scene'):",
96
+ value="Enter your Prompt:"
97
  )
98
 
99
  if img_file_buffer and user_prompt:
100
  # Display captured image
101
  image = Image.open(img_file_buffer)
102
+ #st.markdown(styled_header("πŸ“Έ Your Captured Image:"), unsafe_allow_html=True)
103
+ #st.image(image, caption="Captured Image")
104
 
105
  st.markdown(styled_header("πŸ€– Image Analysis:"), unsafe_allow_html=True)
106
  with st.spinner("πŸ” The AI is analyzing your image. Please wait..."):