Spaces:
Sleeping
Sleeping
updated
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ st.title("🖌️ AI Image Generator")
|
|
| 8 |
st.subheader("Generate images from text prompts!")
|
| 9 |
|
| 10 |
# Input prompt
|
| 11 |
-
prompt = st.text_input("Enter your image prompt:", "")
|
| 12 |
|
| 13 |
# Generate button
|
| 14 |
if st.button("Generate Image"):
|
|
@@ -26,4 +26,4 @@ if st.button("Generate Image"):
|
|
| 26 |
else:
|
| 27 |
st.error("Please enter a prompt to generate an image.")
|
| 28 |
|
| 29 |
-
st.caption("Made with ❤️ by Sumit Yadav. Credits to 🤗 Spaces for Hosting this ")
|
|
|
|
| 8 |
st.subheader("Generate images from text prompts!")
|
| 9 |
|
| 10 |
# Input prompt
|
| 11 |
+
prompt = st.text_input("Enter your image prompt: e.g.'astronaut on a bike'", "")
|
| 12 |
|
| 13 |
# Generate button
|
| 14 |
if st.button("Generate Image"):
|
|
|
|
| 26 |
else:
|
| 27 |
st.error("Please enter a prompt to generate an image.")
|
| 28 |
|
| 29 |
+
st.caption("Made with ❤️ by Sumit Yadav. Credits to 🤗 Spaces for Hosting this. ")
|