zionia commited on
Commit
db7cd29
1 Parent(s): 7ac95a7

fix example error

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -32,8 +32,8 @@ iface = gr.Interface(
32
  article=article,
33
  examples=examples,
34
  inputs=[
35
- gr.components.Textbox(lines=5, placeholder="Enter text (maximum 5 lines)", label="Input"),
36
- gr.components.Radio(
37
  choices=['en->ss', 'ss->en'],
38
  default='en->ss',
39
  label='Direction'),
@@ -43,3 +43,4 @@ iface = gr.Interface(
43
 
44
  iface.launch(enable_queue=True)
45
 
 
 
32
  article=article,
33
  examples=examples,
34
  inputs=[
35
+ gr.Textbox(lines=5, placeholder="Enter text (maximum 5 lines)", label="Input"),
36
+ gr.Radio(
37
  choices=['en->ss', 'ss->en'],
38
  default='en->ss',
39
  label='Direction'),
 
43
 
44
  iface.launch(enable_queue=True)
45
 
46
+