Spaces:
Sleeping
Sleeping
Commit
·
8d04d24
1
Parent(s):
c8e8ff6
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,8 @@ def translate(text):
|
|
9 |
|
10 |
iface = gr.Interface(
|
11 |
fn=translate,
|
12 |
-
|
13 |
-
outputs = "text"
|
14 |
)
|
15 |
|
16 |
iface.launch()
|
|
|
9 |
|
10 |
iface = gr.Interface(
|
11 |
fn=translate,
|
12 |
+
inputs = gr.inputs.Textbox(lines=10, placeholder = "Enter text to summarize ... "),
|
13 |
+
outputs = "text",
|
14 |
)
|
15 |
|
16 |
iface.launch()
|