Tobias Geisler commited on
Commit
ecc5c7b
·
1 Parent(s): 9af483f

add queuing and password

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -63,5 +63,8 @@ iface = gr.Interface(
63
  description="Enter the attributes for your profile picture."
64
  )
65
 
66
- # Run the Gradio app with queuing enabled
67
- iface.launch(queue=True)
 
 
 
 
63
  description="Enter the attributes for your profile picture."
64
  )
65
 
66
+ # Enable queuing with a concurrency limit of 2
67
+ iface.queue(concurrency_count=2)
68
+
69
+ # Run the Gradio app
70
+ iface.launch()