aheedsajid commited on
Commit
61428fa
·
verified ·
1 Parent(s): 9155ce6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -103,8 +103,8 @@ with app:
103
  ],
104
  outputs="image"
105
  )
106
- # Adding the queue with a concurrency limit of 10
107
- app.queue(concurrency_limit=10)
108
 
109
  # Launch the app
110
  app.launch()
 
103
  ],
104
  outputs="image"
105
  )
106
+ # Add a global queue with a concurrency limit of 10
107
+ app.queue(default_concurrency_limit=10)
108
 
109
  # Launch the app
110
  app.launch()