Spaces:
Sleeping
Sleeping
fix example error
Browse files
app.py
CHANGED
@@ -32,8 +32,8 @@ iface = gr.Interface(
|
|
32 |
article=article,
|
33 |
examples=examples,
|
34 |
inputs=[
|
35 |
-
gr.
|
36 |
-
gr.
|
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 |
+
|