print("Wait..") import gradio as gr def analyze_text(text): # Lakukan analisis atau pemrosesan teks di sini if text != "": result = f"Anda memasukkan teks: {text}" elif text == "I Love You" or "Ilopyu" or "Ai lof yu" or "Lop yu": result = "Love you too...." else: result = "MASUKKIN TEKS GOBLOK" return result iface = gr.Interface( fn=analyze_text, inputs=gr.Textbox(), # Menggunakan input textbox outputs="text" # Menetapkan output ke tipe teks ) iface.launch()