bizvideoschool commited on
Commit
dc4a06d
1 Parent(s): b708951

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -20,6 +20,9 @@ def CustomChatGPT(user_input, messages):
20
  messages.append({"role": "assistant", "content": ChatGPT_reply})
21
  return ChatGPT_reply, messages
22
 
 
 
 
23
  st.title("Video Idea Generator for Real Estate Agents")
24
 
25
  # Create columns for input and output
@@ -30,10 +33,8 @@ with col1:
30
  generate_button = st.button('Generate Ideas')
31
 
32
  with col2:
33
- st.markdown("### Generated Ideas")
34
- st.markdown("<div style='border:2px solid black; padding: 10px;'>", unsafe_allow_html=True)
35
  if generate_button:
36
  messages = initial_messages.copy()
37
  reply, _ = CustomChatGPT(user_input, messages)
38
  st.write(reply)
39
- st.markdown("</div>", unsafe_allow_html=True)
 
20
  messages.append({"role": "assistant", "content": ChatGPT_reply})
21
  return ChatGPT_reply, messages
22
 
23
+ # Set layout to wide
24
+ st.set_page_config(layout="wide")
25
+
26
  st.title("Video Idea Generator for Real Estate Agents")
27
 
28
  # Create columns for input and output
 
33
  generate_button = st.button('Generate Ideas')
34
 
35
  with col2:
36
+ st.markdown("### Your Video Ideas ⬇️")
 
37
  if generate_button:
38
  messages = initial_messages.copy()
39
  reply, _ = CustomChatGPT(user_input, messages)
40
  st.write(reply)