Update app.py
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ with demo:
|
|
110 |
methods.change(fn=render_instruction, inputs=methods, outputs=instruction)
|
111 |
|
112 |
question_output = gr.Textbox(label="Answer", interactive=True)
|
113 |
-
code = gr.Code(language="python", interactive=
|
114 |
submit_btn = gr.Button("Submit")
|
115 |
edit_btn = gr.Button("Run the edited code", visible=False)
|
116 |
|
|
|
110 |
methods.change(fn=render_instruction, inputs=methods, outputs=instruction)
|
111 |
|
112 |
question_output = gr.Textbox(label="Answer", interactive=True)
|
113 |
+
code = gr.Code(language="python", interactive=True, label="Generated Code (Editable)")
|
114 |
submit_btn = gr.Button("Submit")
|
115 |
edit_btn = gr.Button("Run the edited code", visible=False)
|
116 |
|