Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -52,12 +52,12 @@ st.markdown('<div class="title-container"><h1>AI Title Generator</h1></div>', un
|
|
52 |
# Input bar for user prompt
|
53 |
user_input = st.text_area(
|
54 |
label="", # Required but can be empty
|
55 |
-
placeholder="
|
56 |
)
|
57 |
|
58 |
|
59 |
|
60 |
-
if st.button("Generate
|
61 |
if user_input.strip():
|
62 |
with st.spinner("Generating... Please wait!"):
|
63 |
result = generate_response(user_input, API_KEY)
|
|
|
52 |
# Input bar for user prompt
|
53 |
user_input = st.text_area(
|
54 |
label="", # Required but can be empty
|
55 |
+
placeholder="Type or Pate Your Input......."
|
56 |
)
|
57 |
|
58 |
|
59 |
|
60 |
+
if st.button("Generate", use_container_width=True):
|
61 |
if user_input.strip():
|
62 |
with st.spinner("Generating... Please wait!"):
|
63 |
result = generate_response(user_input, API_KEY)
|