Adityadn commited on
Commit
529ebc9
·
verified ·
1 Parent(s): 62df3b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -12,7 +12,8 @@ def Prediction(text):
12
  iface = gr.Interface(
13
  fn=Prediction,
14
  inputs=gr.Textbox(label="Input", placeholder="Enter Text Here", show_copy_button=True), # Menggunakan input textbox dengan label dan tombol salin
15
- outputs=gr.Textbox(type="text", label="Output", show_copy_button=True) # Menetapkan output ke tipe teks dengan label
 
16
  )
17
 
18
- iface.launch(show_api=False, show_footer=False)
 
12
  iface = gr.Interface(
13
  fn=Prediction,
14
  inputs=gr.Textbox(label="Input", placeholder="Enter Text Here", show_copy_button=True), # Menggunakan input textbox dengan label dan tombol salin
15
+ outputs=gr.Textbox(type="text", label="Output", show_copy_button=True), # Menetapkan output ke tipe teks
16
+ show_footer=False
17
  )
18
 
19
+ iface.launch(show_api=False)