Update app.py
Browse files
app.py
CHANGED
@@ -20,8 +20,8 @@ def analyze_text(text):
|
|
20 |
|
21 |
iface = gr.Interface(
|
22 |
fn=analyze_text,
|
23 |
-
inputs=gr.Textbox(show_copy_button=True), # Menggunakan input textbox
|
24 |
-
outputs=gr.Textbox(type="text",show_copy_button=True) # Menetapkan output ke tipe teks
|
25 |
)
|
26 |
|
27 |
iface.launch(show_api=False)
|
|
|
20 |
|
21 |
iface = gr.Interface(
|
22 |
fn=analyze_text,
|
23 |
+
inputs=gr.Textbox(label="Input", placeholder="Enter Text Here", show_copy_button=True), # Menggunakan input textbox
|
24 |
+
outputs=gr.Textbox(type="text", label="Output", show_copy_button=True) # Menetapkan output ke tipe teks
|
25 |
)
|
26 |
|
27 |
iface.launch(show_api=False)
|