eaglelandsonce commited on
Commit
75d162e
·
verified ·
1 Parent(s): 9d7e9d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -150,10 +150,6 @@ def get_image_concepts(image_bytes):
150
 
151
  # GPT4 Image Description Creation +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
152
 
153
- # Method to process the text output
154
- def process_text_output(text_output):
155
- st.write("Processed Text Output:")
156
- st.write(text_output)
157
 
158
  def analyze_image(uploaded_file):
159
 
@@ -451,7 +447,6 @@ with tab3:
451
 
452
  with col2:
453
  # Display the selected image
454
- image_width = 400
455
 
456
  image_index = st.select_slider(
457
  "Choose an image",
@@ -460,7 +455,6 @@ with tab3:
460
  )
461
 
462
 
463
-
464
  st.image(st.session_state['image_paths'][image_index])
465
 
466
  image_text_output = analyze_image(st.session_state['image_paths'][image_index])
 
150
 
151
  # GPT4 Image Description Creation +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
152
 
 
 
 
 
153
 
154
  def analyze_image(uploaded_file):
155
 
 
447
 
448
  with col2:
449
  # Display the selected image
 
450
 
451
  image_index = st.select_slider(
452
  "Choose an image",
 
455
  )
456
 
457
 
 
458
  st.image(st.session_state['image_paths'][image_index])
459
 
460
  image_text_output = analyze_image(st.session_state['image_paths'][image_index])