Akshayram1 commited on
Commit
0a16327
1 Parent(s): 1deabc5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -71,15 +71,18 @@ def text_summary(text, isNew=False):
71
  # Layout for chatbot UI
72
  st.title("Financial Summary Chatbot")
73
 
74
- # Adding custom CSS for scrollable chat output
75
  st.markdown("""
76
  <style>
77
  .chat-output {
78
  max-height: 400px;
 
79
  overflow-y: scroll;
80
  padding: 10px;
81
  border: 1px solid #ccc;
82
  background-color: #f5f5f5;
 
 
83
  }
84
  .input-container {
85
  position: fixed;
 
71
  # Layout for chatbot UI
72
  st.title("Financial Summary Chatbot")
73
 
74
+ # Adding custom CSS for scrollable chat output with set dimensions
75
  st.markdown("""
76
  <style>
77
  .chat-output {
78
  max-height: 400px;
79
+ width: 100%;
80
  overflow-y: scroll;
81
  padding: 10px;
82
  border: 1px solid #ccc;
83
  background-color: #f5f5f5;
84
+ height: 400px; /* Set the height */
85
+ width: 100%; /* Set the width */
86
  }
87
  .input-container {
88
  position: fixed;