Update Modules/Code_Interpreter.py
Browse files
Modules/Code_Interpreter.py
CHANGED
|
@@ -48,7 +48,7 @@ def Code_Interpreter(code: Annotated[str, "Python source code to run; stdout is
|
|
| 48 |
def build_interface() -> gr.Interface:
|
| 49 |
return gr.Interface(
|
| 50 |
fn=Code_Interpreter,
|
| 51 |
-
inputs=gr.Code(label="Python Code", language="python"
|
| 52 |
outputs=gr.Textbox(label="Output", lines=5, max_lines=20),
|
| 53 |
title="Code Interpreter",
|
| 54 |
description="<div style=\"text-align:center\">Execute Python code and see the output.</div>",
|
|
|
|
| 48 |
def build_interface() -> gr.Interface:
|
| 49 |
return gr.Interface(
|
| 50 |
fn=Code_Interpreter,
|
| 51 |
+
inputs=gr.Code(label="Python Code", language="python"),
|
| 52 |
outputs=gr.Textbox(label="Output", lines=5, max_lines=20),
|
| 53 |
title="Code Interpreter",
|
| 54 |
description="<div style=\"text-align:center\">Execute Python code and see the output.</div>",
|