YaTharThShaRma999 commited on
Commit
d8ef852
·
verified ·
1 Parent(s): 0f24bef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -8,9 +8,9 @@ def execute_code(code):
8
  except Exception as e:
9
  return f"Error: {str(e)}"
10
 
11
- code_input = gr.inputs.Textbox(lines=10, label="Enter Python code")
12
- execute_button = gr.inputs.Button(text="Execute Code")
13
- result_text = gr.outputs.Textbox(label="Execution Result")
14
 
15
  def execute_code_callback(code):
16
  return execute_code(code)
 
8
  except Exception as e:
9
  return f"Error: {str(e)}"
10
 
11
+ code_input = gr.Textbox(lines=10, label="Enter Python code")
12
+ execute_button = gr.Button(text="Execute Code")
13
+ result_text = gr.Textbox(label="Execution Result")
14
 
15
  def execute_code_callback(code):
16
  return execute_code(code)