Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -40,11 +40,7 @@ st.markdown(
|
|
40 |
text-align: center;
|
41 |
margin-bottom: 20px;
|
42 |
}
|
43 |
-
|
44 |
-
display: flex;
|
45 |
-
justify-content: center;
|
46 |
-
margin-top: 20px;
|
47 |
-
}
|
48 |
</style>
|
49 |
""",
|
50 |
unsafe_allow_html=True
|
@@ -59,9 +55,8 @@ user_input = st.text_area(
|
|
59 |
placeholder="e.g., Master AI For Future Jobs"
|
60 |
)
|
61 |
|
62 |
-
|
63 |
-
st.
|
64 |
-
if st.button("<div class="button-container">Generate Titles</div>"):
|
65 |
if user_input.strip():
|
66 |
with st.spinner("Generating... Please wait!"):
|
67 |
result = generate_response(user_input, API_KEY)
|
|
|
40 |
text-align: center;
|
41 |
margin-bottom: 20px;
|
42 |
}
|
43 |
+
|
|
|
|
|
|
|
|
|
44 |
</style>
|
45 |
""",
|
46 |
unsafe_allow_html=True
|
|
|
55 |
placeholder="e.g., Master AI For Future Jobs"
|
56 |
)
|
57 |
|
58 |
+
|
59 |
+
if st.button("Generate Titles", use_container_width=True):
|
|
|
60 |
if user_input.strip():
|
61 |
with st.spinner("Generating... Please wait!"):
|
62 |
result = generate_response(user_input, API_KEY)
|