peterkchung commited on
Commit
2230706
1 Parent(s): 3276077

UPDATE layout

Browse files
Files changed (1) hide show
  1. app.py +26 -29
app.py CHANGED
@@ -104,57 +104,54 @@ Chat UI using Gradio Blocks.
104
  with gr.Blocks() as chatUI:
105
  # gr.State()
106
 
107
- with gr.Column():
108
- gr.Markdown(
109
- r"Query History"
110
- )
 
111
 
112
- with gr.Column():
113
- with gr.Row():
114
- marketFeed = gr.Textbox(
115
-
116
- )
117
 
118
- with gr.Row():
119
  with gr.Group():
120
  gr.Textbox(
121
- placeholder = "Please enter you question or request here...",
122
- show_label = False,
123
- scale = 2,
124
  )
125
 
126
  gr.Button("Submit", scale = 1)
127
 
128
- with gr.Row():
129
  gr.Chatbot(
130
- bubble_full_width = False,
131
- scale = 2
132
- )
133
 
134
- with gr.Row():
135
  gr.Textbox(
136
- placeholder = "Please enter you question or request here...",
137
- show_label = False,
138
- scale = 4,
139
- )
140
 
141
  gr.Button("Submit", scale = 1)
142
 
143
- with gr.Column():
144
- with gr.Row():
145
  companyInfo = gr.Markdown(
146
  r"Company Info"
147
- )
148
 
149
- with gr.Row():
150
  companyBull = gr.Markdown(
151
  r"Bull Case"
152
- )
153
 
154
- with gr.Row():
155
  companyBear = gr.Markdown(
156
  r"Bear Case"
157
- )
158
 
159
 
160
  """
 
104
  with gr.Blocks() as chatUI:
105
  # gr.State()
106
 
107
+ with gr.Row():
108
+ with gr.Column():
109
+ gr.Markdown(
110
+ r"Query History"
111
+ )
112
 
113
+ with gr.Column():
114
+ gr.Textbox(
115
+ placeholder = "Please enter you question or request here...",
116
+ )
117
+
118
 
 
119
  with gr.Group():
120
  gr.Textbox(
121
+ placeholder = "Please enter you question or request here...",
122
+ show_label = False,
123
+ scale = 2,
124
  )
125
 
126
  gr.Button("Submit", scale = 1)
127
 
128
+
129
  gr.Chatbot(
130
+ bubble_full_width = False,
131
+ scale = 2
132
+ )
133
 
134
+
135
  gr.Textbox(
136
+ placeholder = "Please enter you question or request here...",
137
+ show_label = False,
138
+ scale = 4,
139
+ )
140
 
141
  gr.Button("Submit", scale = 1)
142
 
143
+ with gr.Column():
 
144
  companyInfo = gr.Markdown(
145
  r"Company Info"
146
+ )
147
 
 
148
  companyBull = gr.Markdown(
149
  r"Bull Case"
150
+ )
151
 
 
152
  companyBear = gr.Markdown(
153
  r"Bear Case"
154
+ )
155
 
156
 
157
  """