loubnabnl HF staff commited on
Commit
4da495c
1 Parent(s): 6c0d1e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def complexity_estimation(gen_prompt):
33
  iface = gr.Interface(
34
  fn=complexity_estimation,
35
  inputs=[
36
- gr.Textbox(lines=10, label="Input code"),
37
  ],
38
  outputs=[
39
  gr.Textbox(label="Predicted complexity", lines=1) ,
 
33
  iface = gr.Interface(
34
  fn=complexity_estimation,
35
  inputs=[
36
+ gr.Code(lines=10, label="Input code"),
37
  ],
38
  outputs=[
39
  gr.Textbox(label="Predicted complexity", lines=1) ,