Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -169,8 +169,8 @@ with gr.Blocks(css="""
|
|
| 169 |
with gr.Row():
|
| 170 |
|
| 171 |
# LEFT SIDE: Transparent box with interview type buttons
|
| 172 |
-
|
| 173 |
-
|
| 174 |
<div style="
|
| 175 |
background: rgba(255, 255, 255, 0.1);
|
| 176 |
padding: 20px;
|
|
@@ -182,13 +182,13 @@ with gr.Blocks(css="""
|
|
| 182 |
<p>Select the type of interview you want to practice.</p>
|
| 183 |
</div>
|
| 184 |
""")
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
| 188 |
|
| 189 |
# RIGHT SIDE: Bot response display (type_output)
|
| 190 |
-
|
| 191 |
-
|
| 192 |
|
| 193 |
|
| 194 |
btn1.click(set_type, inputs=[gr.Textbox(value="Technical", visible=False), user_profile], outputs=[type_output, user_profile])
|
|
|
|
| 169 |
with gr.Row():
|
| 170 |
|
| 171 |
# LEFT SIDE: Transparent box with interview type buttons
|
| 172 |
+
with gr.Column(scale=1):
|
| 173 |
+
gr.Markdown("""
|
| 174 |
<div style="
|
| 175 |
background: rgba(255, 255, 255, 0.1);
|
| 176 |
padding: 20px;
|
|
|
|
| 182 |
<p>Select the type of interview you want to practice.</p>
|
| 183 |
</div>
|
| 184 |
""")
|
| 185 |
+
btn1 = gr.Button("Technical")
|
| 186 |
+
btn2 = gr.Button("Competency-Based Interview")
|
| 187 |
+
btn3 = gr.Button("Case")
|
| 188 |
|
| 189 |
# RIGHT SIDE: Bot response display (type_output)
|
| 190 |
+
with gr.Column(scale=2):
|
| 191 |
+
type_output = gr.Textbox(label="Bot Response", interactive=False)
|
| 192 |
|
| 193 |
|
| 194 |
btn1.click(set_type, inputs=[gr.Textbox(value="Technical", visible=False), user_profile], outputs=[type_output, user_profile])
|