Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -50,10 +50,30 @@ st.markdown(
|
|
50 |
#st.markdown('<div class="title-container"><h1>AI Title Generator</h1></div>', unsafe_allow_html=True)
|
51 |
|
52 |
# Input bar for user prompt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
user_input = st.text_area(
|
54 |
-
label="
|
55 |
-
placeholder="
|
56 |
)
|
|
|
57 |
|
58 |
|
59 |
|
|
|
50 |
#st.markdown('<div class="title-container"><h1>AI Title Generator</h1></div>', unsafe_allow_html=True)
|
51 |
|
52 |
# Input bar for user prompt
|
53 |
+
st.markdown(
|
54 |
+
"""
|
55 |
+
<style>
|
56 |
+
.text-area-container {
|
57 |
+
text-align: center;
|
58 |
+
}
|
59 |
+
.text-area-container label {
|
60 |
+
font-weight: bold;
|
61 |
+
font-size: 16px;
|
62 |
+
margin-bottom: 10px;
|
63 |
+
display: block;
|
64 |
+
}
|
65 |
+
</style>
|
66 |
+
""",
|
67 |
+
unsafe_allow_html=True
|
68 |
+
)
|
69 |
+
|
70 |
+
# Text Area with Centered Label
|
71 |
+
st.markdown('<div class="text-area-container">', unsafe_allow_html=True)
|
72 |
user_input = st.text_area(
|
73 |
+
label="Enter your text here:",
|
74 |
+
placeholder="e.g., Master AI For Future Jobs"
|
75 |
)
|
76 |
+
st.markdown('</div>', unsafe_allow_html=True)
|
77 |
|
78 |
|
79 |
|