Prashanthsrn commited on
Commit
62a8ecb
·
verified ·
1 Parent(s): 2466fdb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,7 +32,7 @@ if st.button("Generate Image"):
32
  if prompt:
33
  try:
34
  with st.spinner("Generating your masterpiece..."):
35
- # Make a request to the Dalle-mini API
36
  response = requests.post("https://backend.craiyon.com/generate", json={"prompt": prompt})
37
 
38
  if response.status_code == 200:
@@ -61,4 +61,4 @@ if st.button("Generate Image"):
61
  # Footer
62
  st.markdown("---")
63
  st.markdown("Created with ❤️ for 3EyeDimensions AI Engineer Internship")
64
- st.markdown("Note: This app uses the Dalle-mini model for image generation.")
 
32
  if prompt:
33
  try:
34
  with st.spinner("Generating your masterpiece..."):
35
+ # Make a request to the Dalle-mini API (Craiyon)
36
  response = requests.post("https://backend.craiyon.com/generate", json={"prompt": prompt})
37
 
38
  if response.status_code == 200:
 
61
  # Footer
62
  st.markdown("---")
63
  st.markdown("Created with ❤️ for 3EyeDimensions AI Engineer Internship")
64
+ st.markdown("Note: This app uses the Dalle-mini model for image generation.")