mgbam commited on
Commit
c4fcaff
·
verified ·
1 Parent(s): 5fcdf3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -170,7 +170,7 @@ def display_result(image: Image.Image, prompt: str, index: int, total: int) -> O
170
  Returns:
171
  Annotation data (list of dicts) if annotations were made, otherwise None.
172
  """
173
- st.image(image, caption=f"Result {index + 1}/{total}: {prompt}", use_column_width='always')
174
 
175
  # Prepare image for download
176
  buf = BytesIO()
 
170
  Returns:
171
  Annotation data (list of dicts) if annotations were made, otherwise None.
172
  """
173
+ st.image(image, caption=f"Result {index + 1}/{total}: {prompt}", use_container_width=True)
174
 
175
  # Prepare image for download
176
  buf = BytesIO()