Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -45,15 +45,25 @@ interface = gr.Interface(
|
|
45 |
fn=classify,
|
46 |
inputs=gr.Textbox(
|
47 |
lines=4,
|
48 |
-
placeholder="Enter
|
49 |
label="π Input Text / θΎε
₯ζζ¬"
|
50 |
),
|
51 |
outputs=gr.Textbox(label="π Prediction / ι’ζ΅η»ζ"),
|
52 |
-
title="
|
53 |
-
description=""
|
|
|
|
|
|
|
|
|
|
|
54 |
π This tool detects **emotionally manipulative language** in Chinese or English digital communication.
|
55 |
|
56 |
|
|
|
|
|
|
|
|
|
|
|
57 |
---
|
58 |
|
59 |
π **Disclaimer / ε
θ΄£ε£°ζοΌ**
|
|
|
45 |
fn=classify,
|
46 |
inputs=gr.Textbox(
|
47 |
lines=4,
|
48 |
+
placeholder="Enter text in English or Chinese... / θΎε
₯δΈζζθ±ζε₯ε",
|
49 |
label="π Input Text / θΎε
₯ζζ¬"
|
50 |
),
|
51 |
outputs=gr.Textbox(label="π Prediction / ι’ζ΅η»ζ"),
|
52 |
+
title="π Manipulative Language Detector / ζηΊ΅ζ§θ―θ¨θ―ε«ε¨",
|
53 |
+
description="π§ͺ θΎε
₯θ±ζζδΈζε₯εοΌη³»η»ε°ε€ζε
Άζ―ε¦ε
ε«ζηΊ΅ζ§θ―θ¨γ\nEnter a sentence in English or Chinese to detect if it's manipulative.",
|
54 |
+
examples=[
|
55 |
+
["If you really cared, you'd do what I say."],
|
56 |
+
["δ½ δΈη±ζε°±θ―ζη»ζηοΌ"],
|
57 |
+
["δ»ε€©η倩ζ°ηδΈιγ"]
|
58 |
+
]
|
59 |
π This tool detects **emotionally manipulative language** in Chinese or English digital communication.
|
60 |
|
61 |
|
62 |
+
outputs="text",
|
63 |
+
|
64 |
+
)
|
65 |
+
|
66 |
+
interface.launch()
|
67 |
---
|
68 |
|
69 |
π **Disclaimer / ε
θ΄£ε£°ζοΌ**
|