Spaces:
Sleeping
Sleeping
edited
Browse files
app.py
CHANGED
|
@@ -36,11 +36,11 @@ def generate_text(prompt, model, max_tokens, temperature):
|
|
| 36 |
st.set_page_config(page_title="Gemini AI Text Generator", layout="centered")
|
| 37 |
|
| 38 |
# β
Title & Description
|
| 39 |
-
st.title("
|
| 40 |
-
st.write("Generate AI-powered text
|
| 41 |
|
| 42 |
# β
Input Prompt
|
| 43 |
-
user_input = st.text_area("
|
| 44 |
|
| 45 |
# β
Sliders (Aligned Below Prompt)
|
| 46 |
temperature = st.slider("π¨ Creativity Level (1-10)", min_value=1, max_value=10, value=5) / 10
|
|
@@ -61,4 +61,4 @@ if st.button("π Generate Text"):
|
|
| 61 |
|
| 62 |
# β
Footer
|
| 63 |
st.markdown("---")
|
| 64 |
-
st.
|
|
|
|
| 36 |
st.set_page_config(page_title="Gemini AI Text Generator", layout="centered")
|
| 37 |
|
| 38 |
# β
Title & Description
|
| 39 |
+
st.title("π Creative AI Assistant")
|
| 40 |
+
st.write("Generate AI-powered text with ease. Simply enter a prompt and customize the settings!")
|
| 41 |
|
| 42 |
# β
Input Prompt
|
| 43 |
+
user_input = st.text_area("βπΌ Write Something...", height=150, placeholder="Example: Write a formal article about climate change.")
|
| 44 |
|
| 45 |
# β
Sliders (Aligned Below Prompt)
|
| 46 |
temperature = st.slider("π¨ Creativity Level (1-10)", min_value=1, max_value=10, value=5) / 10
|
|
|
|
| 61 |
|
| 62 |
# β
Footer
|
| 63 |
st.markdown("---")
|
| 64 |
+
st.caption("πΉ *Powered by Gemini AI* | πΉ *Developed with Streamlit*")
|