Aditya DN commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,11 +7,11 @@ lopek = ["I Love You", "Ilopyu", "I <3 U", "Ai lof yu", "Lop yu"]
|
|
| 7 |
def analyze_text(text):
|
| 8 |
# Lakukan analisis atau pemrosesan teks di sini
|
| 9 |
if text == "":
|
| 10 |
-
result = "MASUKKIN
|
| 11 |
elif text != "":
|
| 12 |
-
if text != ["
|
| 13 |
-
result = f"You memasukkan
|
| 14 |
-
elif text ==
|
| 15 |
result = "Love you too...."
|
| 16 |
elif text == ["Ah", "Ahh"]:
|
| 17 |
result = "You is sangean"
|
|
|
|
| 7 |
def analyze_text(text):
|
| 8 |
# Lakukan analisis atau pemrosesan teks di sini
|
| 9 |
if text == "":
|
| 10 |
+
result = "MASUKKIN THE TEXT IDIOT"
|
| 11 |
elif text != "":
|
| 12 |
+
if text != [f"{lopek}, Ah, Ahh"]:
|
| 13 |
+
result = f"You memasukkan text: {text}"
|
| 14 |
+
elif text == lopek:
|
| 15 |
result = "Love you too...."
|
| 16 |
elif text == ["Ah", "Ahh"]:
|
| 17 |
result = "You is sangean"
|