Update app.py
Browse files
app.py
CHANGED
@@ -54,10 +54,10 @@ gradio_ui = gr.Interface(
|
|
54 |
fn=cn_text,
|
55 |
title="Chinese News Headlines Generator",
|
56 |
description="Too busy or tired to write a headline for your Chinese news story? Try this instead.",
|
57 |
-
inputs=gr.
|
58 |
lines=20, label="Paste Chinese text here"
|
59 |
),
|
60 |
-
outputs=gr.
|
61 |
theme="huggingface",
|
62 |
)
|
63 |
|
54 |
fn=cn_text,
|
55 |
title="Chinese News Headlines Generator",
|
56 |
description="Too busy or tired to write a headline for your Chinese news story? Try this instead.",
|
57 |
+
inputs=gr.Textbox(
|
58 |
lines=20, label="Paste Chinese text here"
|
59 |
),
|
60 |
+
outputs=gr.Textbox(label="Suggested Headline"),
|
61 |
theme="huggingface",
|
62 |
)
|
63 |
|