root commited on
Commit
e282faa
·
1 Parent(s): 9b5475f

Added the code syntax again

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ demo = gr.Interface(
50
  gr.Dropdown(label="Select Task", choices=["NL to Java", "Java to C#", "End to End NL to C#"], value="NL to Java"),
51
  gr.Textbox(label="Input")
52
  ],
53
- outputs=gr.Textbox(label="Generated Code"),
54
  title="CodeGen NL to Java and Java to C#"
55
  )
56
 
 
50
  gr.Dropdown(label="Select Task", choices=["NL to Java", "Java to C#", "End to End NL to C#"], value="NL to Java"),
51
  gr.Textbox(label="Input")
52
  ],
53
+ outputs=gr.Code(label="Generated Code"),
54
  title="CodeGen NL to Java and Java to C#"
55
  )
56