Spaces:
Build error
Build error
Commit
·
c93e814
1
Parent(s):
2d14595
Update app.py
Browse files
app.py
CHANGED
@@ -27,11 +27,15 @@ examples = [["summarize: Maschinelles Lernen ist ein Oberbegriff für die „kü
|
|
27 |
# title=title,
|
28 |
# description=description,
|
29 |
# examples=examples)
|
|
|
|
|
30 |
|
31 |
-
interface = gr.Interface
|
|
|
|
|
32 |
title=title,
|
33 |
description=description,
|
34 |
-
examples=examples)
|
35 |
|
36 |
interface.launch(share=True)
|
37 |
|
|
|
27 |
# title=title,
|
28 |
# description=description,
|
29 |
# examples=examples)
|
30 |
+
txt=grad.Textbox(lines=30, label="German", placeholder="Paste your German text in here")
|
31 |
+
out=grad.Textbox(lines=10, label="Summary")
|
32 |
|
33 |
+
interface = gr.Interface(summarize,
|
34 |
+
inputs=txt,
|
35 |
+
outputs=out,
|
36 |
title=title,
|
37 |
description=description,
|
38 |
+
examples=examples)
|
39 |
|
40 |
interface.launch(share=True)
|
41 |
|