rootacess commited on
Commit
1904c80
1 Parent(s): 201cfef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=False, label="Generated Code (Editable)")
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