Update app.py
Browse files
app.py
CHANGED
@@ -9,9 +9,12 @@ def analyze_text(text):
|
|
9 |
if text == "":
|
10 |
result = "MASUKKIN TEKS GOBLOK"
|
11 |
elif text != "":
|
12 |
-
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
15 |
else:
|
16 |
result = "Ada yang error nih"
|
17 |
return result
|
|
|
9 |
if text == "":
|
10 |
result = "MASUKKIN TEKS GOBLOK"
|
11 |
elif text != "":
|
12 |
+
if text == "I Love You" or "Ilopyu" or "I <3 U" or "Ai lof yu" or "Lop yu":
|
13 |
+
result = "Love you too...."
|
14 |
+
elif text == "Ah":
|
15 |
+
result = "Kamu sangean"
|
16 |
+
else:
|
17 |
+
result = f"Anda memasukkan teks: {text}"
|
18 |
else:
|
19 |
result = "Ada yang error nih"
|
20 |
return result
|