Adityadn commited on
Commit
c6ba141
·
verified ·
1 Parent(s): 47e5e7b

Update app.py

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