shukdevdatta123 commited on
Commit
0a5527d
·
verified ·
1 Parent(s): 6c8c80c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ if api_key:
39
  image_data = BytesIO(image_response.content)
40
 
41
  # Display the image
42
- st.image(image_url, caption="Generated Image", use_column_width=True)
43
  st.write("Image URL: " + image_url)
44
  except Exception as e:
45
  st.error(f"An error occurred: {e}")
 
39
  image_data = BytesIO(image_response.content)
40
 
41
  # Display the image
42
+ st.image(image_url, caption="Generated Image", use_container_width=True)
43
  st.write("Image URL: " + image_url)
44
  except Exception as e:
45
  st.error(f"An error occurred: {e}")