Spaces:
Sleeping
Sleeping
update to fix example errors
Browse files
app.py
CHANGED
@@ -34,9 +34,7 @@ iface = gr.Interface(
|
|
34 |
inputs=[
|
35 |
gr.components.Textbox(lines=5, placeholder="Enter text (maximum 5 lines)", label="Input"),
|
36 |
gr.components.Radio(
|
37 |
-
choices=[
|
38 |
-
'en->ss',
|
39 |
-
'ss->en'],
|
40 |
default='en->ss',
|
41 |
label='Direction'),
|
42 |
],
|
@@ -44,3 +42,4 @@ iface = gr.Interface(
|
|
44 |
)
|
45 |
|
46 |
iface.launch(enable_queue=True)
|
|
|
|
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'),
|
40 |
],
|
|
|
42 |
)
|
43 |
|
44 |
iface.launch(enable_queue=True)
|
45 |
+
|