Adityadn commited on
Commit
82d6904
·
verified ·
1 Parent(s): c6ba141

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -2,11 +2,13 @@ print("Wait..")
2
 
3
  import gradio as gr
4
 
 
 
5
  def analyze_text(text):
6
  # Lakukan analisis atau pemrosesan teks di sini
7
  if text == "":
8
  result = "MASUKKIN TEKS GOBLOK"
9
- elif text == "I Love You" or "Ilopyu" or "Ai lof yu" or "Lop yu":
10
  result = "Love you too...."
11
  else:
12
  result = f"Anda memasukkan teks: {text}"
 
2
 
3
  import gradio as gr
4
 
5
+ lopek = ["I Love You", "Ilopyu", "I <3 U", "Ai lof yu", "Lop yu"]
6
+
7
  def analyze_text(text):
8
  # Lakukan analisis atau pemrosesan teks di sini
9
  if text == "":
10
  result = "MASUKKIN TEKS GOBLOK"
11
+ elif text == lopek:
12
  result = "Love you too...."
13
  else:
14
  result = f"Anda memasukkan teks: {text}"