Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,8 @@ def analyze_text(text):
|
|
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
|
|
|
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 |
+
show_footer=False
|
26 |
)
|
27 |
|
28 |
+
iface.launch(show_api=False)
|