Sayed121 commited on
Commit
1d0bb0a
·
1 Parent(s): 8ddf500

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -136,13 +136,13 @@ def sample_images():
136
  }
137
 
138
  # Button to load sample images
139
- if st.button("Load Sample Images"):
140
 
141
  sample_image = Image.open(example_image).convert('RGB')
142
- st.image(sample_image, caption=f"{sample_name} Image.", use_column_width=True)
143
 
144
  # Text input for each sample image
145
- text_input = st.text_area(f"Input Question for {sample_name}:")
146
 
147
  # Predict button for each sample image
148
  if st.button(f"Predict"):
 
136
  }
137
 
138
  # Button to load sample images
139
+ if st.button("Load Example Images"):
140
 
141
  sample_image = Image.open(example_image).convert('RGB')
142
+ st.image(sample_image, caption=f"Example Image", use_column_width=True)
143
 
144
  # Text input for each sample image
145
+ text_input = st.text_area(f"Input Question:")
146
 
147
  # Predict button for each sample image
148
  if st.button(f"Predict"):