taishi-i commited on
Commit
f6ac75e
1 Parent(s): 6fd2f10

fix app.py for gradio 4.36.0 update

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -28,14 +28,14 @@ iface = gr.Interface(
28
  label="Input text",
29
  lines=num_input_lines,
30
  placeholder=input_placeholder,
31
- default=default_text,
32
  ),
33
  title=title,
34
  description=description,
35
  examples=examples,
36
  outputs=[
37
- gr.outputs.Textbox(label="Words"),
38
- gr.outputs.Textbox(label="POS tags"),
39
  ],
40
  )
41
 
 
28
  label="Input text",
29
  lines=num_input_lines,
30
  placeholder=input_placeholder,
31
+ value=default_text,
32
  ),
33
  title=title,
34
  description=description,
35
  examples=examples,
36
  outputs=[
37
+ gr.Textbox(label="Words"),
38
+ gr.Textbox(label="POS tags"),
39
  ],
40
  )
41