bizvideoschool
commited on
Commit
•
95ed11c
1
Parent(s):
0fc4f4b
Update app.py
Browse files
app.py
CHANGED
@@ -26,17 +26,18 @@ def CustomChatGPT(user_input, messages):
|
|
26 |
# Set layout to wide
|
27 |
st.set_page_config(layout="wide")
|
28 |
|
29 |
-
st.title("Video Idea Generator for Real Estate Agents")
|
30 |
|
31 |
# Create columns for input and output
|
32 |
col1, col2 = st.columns(2)
|
33 |
|
34 |
with col1:
|
35 |
-
|
|
|
36 |
generate_button = st.button('Generate Ideas')
|
37 |
|
38 |
with col2:
|
39 |
-
st.markdown("
|
40 |
if generate_button:
|
41 |
messages = initial_messages.copy()
|
42 |
reply, _ = CustomChatGPT(user_input, messages)
|
|
|
26 |
# Set layout to wide
|
27 |
st.set_page_config(layout="wide")
|
28 |
|
29 |
+
st.title("Video Idea Generator for Real Estate Agents", anchor=None)
|
30 |
|
31 |
# Create columns for input and output
|
32 |
col1, col2 = st.columns(2)
|
33 |
|
34 |
with col1:
|
35 |
+
st.markdown("<h2 style='text-align: center; color: black;'>Enter a Topic</h2>", unsafe_allow_html=True)
|
36 |
+
user_input = st.text_input("", placeholder="Enter a topic (optional):")
|
37 |
generate_button = st.button('Generate Ideas')
|
38 |
|
39 |
with col2:
|
40 |
+
st.markdown("<h2 style='text-align: center; color: black;'>Your Video Ideas ⬇️</h2>", unsafe_allow_html=True)
|
41 |
if generate_button:
|
42 |
messages = initial_messages.copy()
|
43 |
reply, _ = CustomChatGPT(user_input, messages)
|