Adityadn commited on
Commit
62a823b
·
verified ·
1 Parent(s): 389ca26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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)