Spaces:
Runtime error
Runtime error
Commit
·
2d4cb27
1
Parent(s):
83e859c
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,6 @@ def convert_code(code, from_lang, to_lang):
|
|
| 33 |
# Create the Gradio app
|
| 34 |
app = gr.Interface(
|
| 35 |
fn=convert_code,
|
| 36 |
-
inputs=gr.inputs.Textbox(lines=10, label="Code to convert")
|
| 37 |
-
|
| 38 |
-
|
| 39 |
app.launch()
|
|
|
|
| 33 |
# Create the Gradio app
|
| 34 |
app = gr.Interface(
|
| 35 |
fn=convert_code,
|
| 36 |
+
inputs=gr.inputs.Textbox(lines=10, label="Code to convert"),
|
| 37 |
+
outputs=gr.outputs.Textbox(label="Converted code"))
|
|
|
|
| 38 |
app.launch()
|