Adityadn commited on
Commit
0cfacf6
·
verified ·
1 Parent(s): 529ebc9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -12,8 +12,7 @@ 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
16
- show_footer=False
17
  )
18
 
19
- iface.launch(show_api=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)
 
16
  )
17
 
18
+ iface.launch(show_api=False, show_interface=False)