DimasMP3 commited on
Commit
0642bfe
·
1 Parent(s): d33934a

Disable Gradio queue via Interface parameter

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,6 +90,7 @@ def build_interface() -> gr.Interface:
90
  title="Face Shape Detection",
91
  description="Unggah foto wajah untuk mendeteksi bentuk wajah Anda menggunakan model TensorFlow.",
92
  allow_flagging="never",
 
93
  )
94
 
95
 
@@ -101,7 +102,6 @@ def launch_app():
101
  "server_port": settings.port,
102
  "share": settings.share,
103
  "show_api": True,
104
- "enable_queue": False,
105
  }
106
 
107
  if settings.gradio_username and settings.gradio_password:
 
90
  title="Face Shape Detection",
91
  description="Unggah foto wajah untuk mendeteksi bentuk wajah Anda menggunakan model TensorFlow.",
92
  allow_flagging="never",
93
+ enable_queue=False,
94
  )
95
 
96
 
 
102
  "server_port": settings.port,
103
  "share": settings.share,
104
  "show_api": True,
 
105
  }
106
 
107
  if settings.gradio_username and settings.gradio_password: