shukdevdatta123 commited on
Commit
85e79f9
·
verified ·
1 Parent(s): 19ef599

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ if api_key:
48
  image_data = BytesIO(image_response.content)
49
 
50
  # Display the image
51
- st.image(image_url, caption="Generated Image", use_column_width=True)
52
  except Exception as e:
53
  st.error(f"An error occurred: {e}")
54
  else:
 
48
  image_data = BytesIO(image_response.content)
49
 
50
  # Display the image
51
+ st.image(image_url, caption="Generated Image", use_container_width=True)
52
  except Exception as e:
53
  st.error(f"An error occurred: {e}")
54
  else: