Spaces:
Runtime error
Runtime error
Commit
·
7ca7bb9
1
Parent(s):
3a1ff29
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,8 +32,7 @@ def convert_code(code, language):
|
|
| 32 |
# Create the Gradio app
|
| 33 |
app = gr.Interface(
|
| 34 |
fn=convert_code,
|
| 35 |
-
inputs=[gr.inputs.Textbox(lines=10, label="Code to convert"), gr.
|
| 36 |
-
controls=gr.controls.Radio(["Python", "R"], label="Source language"),
|
| 37 |
outputs=[gr.outputs.Textbox(label="Converted code")]
|
| 38 |
)
|
| 39 |
|
|
|
|
| 32 |
# Create the Gradio app
|
| 33 |
app = gr.Interface(
|
| 34 |
fn=convert_code,
|
| 35 |
+
inputs=[gr.inputs.Textbox(lines=10, label="Code to convert"), gr.Radio(["Python", "R"], label="Source language")],
|
|
|
|
| 36 |
outputs=[gr.outputs.Textbox(label="Converted code")]
|
| 37 |
)
|
| 38 |
|