Adityadn commited on
Commit
3c91c82
·
verified ·
1 Parent(s): e7c02df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -8,10 +8,12 @@ def analyze_text(text):
8
  # Lakukan analisis atau pemrosesan teks di sini
9
  if text == "":
10
  result = "MASUKKIN TEKS GOBLOK"
 
 
11
  elif text == "I Love You" or "Ilopyu" or "I <3 U" or "Ai lof yu" or "Lop yu":
12
  result = "Love you too...."
13
  else:
14
- result = f"Anda memasukkan teks: {text}"
15
  return result
16
 
17
  iface = gr.Interface(
 
8
  # Lakukan analisis atau pemrosesan teks di sini
9
  if text == "":
10
  result = "MASUKKIN TEKS GOBLOK"
11
+ elif text == text:
12
+ result = f"Anda memasukkan teks: {text}"
13
  elif text == "I Love You" or "Ilopyu" or "I <3 U" or "Ai lof yu" or "Lop yu":
14
  result = "Love you too...."
15
  else:
16
+ result = "Ada yang error nih"
17
  return result
18
 
19
  iface = gr.Interface(