Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,10 @@ import gradio as gr
|
|
4 |
|
5 |
def analyze_text(text):
|
6 |
# Lakukan analisis atau pemrosesan teks di sini
|
7 |
-
|
|
|
|
|
|
|
8 |
return result
|
9 |
|
10 |
iface = gr.Interface(
|
|
|
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 |
+
else:
|
10 |
+
result = "MASUKKIN TEKS GOBLOK"
|
11 |
return result
|
12 |
|
13 |
iface = gr.Interface(
|