Update app.py
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ with gr.Blocks(title="SynapseAI Programming Assistant") as app:
|
|
| 72 |
explain_btn.click(explain_code, code_input, explanation_output)
|
| 73 |
|
| 74 |
# Fix Code
|
| 75 |
-
|
| 76 |
broken_input = gr.Textbox(label="Broken Code", lines=10)
|
| 77 |
err = gr.Textbox(label="Error (optional)")
|
| 78 |
fix_btn = gr.Button("Fix Code")
|
|
|
|
| 72 |
explain_btn.click(explain_code, code_input, explanation_output)
|
| 73 |
|
| 74 |
# Fix Code
|
| 75 |
+
with gr.Tab("Fix Code"):
|
| 76 |
broken_input = gr.Textbox(label="Broken Code", lines=10)
|
| 77 |
err = gr.Textbox(label="Error (optional)")
|
| 78 |
fix_btn = gr.Button("Fix Code")
|