Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -174,9 +174,9 @@ with gr.Blocks() as demo:
|
|
| 174 |
btn3 = gr.Button("Case")
|
| 175 |
type_output = gr.Textbox(label="Bot response", interactive=False)
|
| 176 |
|
| 177 |
-
btn1.click(set_type, inputs=[gr.Textbox(value="
|
| 178 |
-
btn2.click(set_type, inputs=[gr.Textbox(value="
|
| 179 |
-
btn3.click(set_type, inputs=[gr.Textbox(value="
|
| 180 |
|
| 181 |
gr.Markdown("### Step 2: Enter Your Background")
|
| 182 |
background = gr.Textbox(label="Your background and field/goal")
|
|
|
|
| 174 |
btn3 = gr.Button("Case")
|
| 175 |
type_output = gr.Textbox(label="Bot response", interactive=False)
|
| 176 |
|
| 177 |
+
btn1.click(set_type, inputs=[gr.Textbox(value="Technical", visible=False), user_profile], outputs=[type_output, user_profile])
|
| 178 |
+
btn2.click(set_type, inputs=[gr.Textbox(value="Competency-Based Interview", visible=False), user_profile], outputs=[type_output, user_profile])
|
| 179 |
+
btn3.click(set_type, inputs=[gr.Textbox(value="Case", visible=False), user_profile], outputs=[type_output, user_profile])
|
| 180 |
|
| 181 |
gr.Markdown("### Step 2: Enter Your Background")
|
| 182 |
background = gr.Textbox(label="Your background and field/goal")
|