Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def analyze_text(text):
|
|
21 |
iface = gr.Interface(
|
22 |
fn=analyze_text,
|
23 |
inputs=gr.Textbox(show_copy_button=True), # Menggunakan input textbox
|
24 |
-
outputs="text" # Menetapkan output ke tipe teks
|
25 |
)
|
26 |
|
27 |
iface.launch()
|
|
|
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()
|