camillelacan1 commited on
Commit
ce07fb6
·
1 Parent(s): 043af13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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"),
36
- controls=gr.controls.Radio(["Python", "R"], label="Source language"),
37
  outputs=gr.outputs.Textbox(label="Converted code"))
38
 
39
  app.launch()
 
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.controls.Radio(["Python", "R"], label="Source language")],
 
36
  outputs=gr.outputs.Textbox(label="Converted code"))
37
 
38
  app.launch()