maahikachitagi commited on
Commit
2d0340c
·
verified ·
1 Parent(s): bbc3975

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -17
app.py CHANGED
@@ -168,28 +168,28 @@ with gr.Blocks(css="""
168
  # type_output = gr.Textbox(label="Bot response", interactive=False)
169
  with gr.Row():
170
 
171
- # LEFT SIDE: Transparent box with interview type buttons
172
- with gr.Column(scale=1.5):
173
  gr.Markdown("""
174
- <div style="
175
- background: rgba(255, 255, 255, 0.1);
176
- padding: 20px;
177
- border-radius: 15px;
178
- backdrop-filter: blur(5px);
179
- box-shadow: 0 4px 10px rgba(0,0,0,0.2);
180
- ">
181
- <h3>Step 1: Choose Interview Type</h3>
182
- <p>Select the type of interview you want to practice.</p>
183
- </div>
184
- """)
185
- with gr.Row():
186
  btn1 = gr.Button("Technical")
187
  btn2 = gr.Button("Competency-Based Interview")
188
  btn3 = gr.Button("Case")
189
 
190
- # RIGHT SIDE: Bot response display (type_output)
191
- with gr.Column(scale=1):
192
- type_output = gr.Textbox(label="Bot Response", interactive=False)
193
 
194
 
195
  btn1.click(set_type, inputs=[gr.Textbox(value="Technical", visible=False), user_profile], outputs=[type_output, user_profile])
 
168
  # type_output = gr.Textbox(label="Bot response", interactive=False)
169
  with gr.Row():
170
 
171
+ with gr.Column(scale=1.5):
172
+ with gr.Group():
173
  gr.Markdown("""
174
+ <div style="
175
+ background: rgba(255, 255, 255, 0.1);
176
+ padding: 20px;
177
+ border-radius: 15px;
178
+ backdrop-filter: blur(5px);
179
+ box-shadow: 0 4px 10px rgba(0,0,0,0.2);
180
+ text-align: center;
181
+ ">
182
+ <h3>Step 1: Choose Interview Type</h3>
183
+ <p>Select the type of interview you want to practice.</p>
184
+ </div>
185
+ """)
186
  btn1 = gr.Button("Technical")
187
  btn2 = gr.Button("Competency-Based Interview")
188
  btn3 = gr.Button("Case")
189
 
190
+ with gr.Column(scale=1):
191
+ type_output = gr.Textbox(label="Bot Response", interactive=False)
192
+
193
 
194
 
195
  btn1.click(set_type, inputs=[gr.Textbox(value="Technical", visible=False), user_profile], outputs=[type_output, user_profile])