petter2025 commited on
Commit
c07fad9
·
verified ·
1 Parent(s): 4b1121a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -2290,6 +2290,9 @@ def main():
2290
  print(" - Watch observation gate change with confidence levels")
2291
  print(" - Export telemetry to see psychological component usage")
2292
 
 
 
 
2293
  # Launch with enhanced configuration
2294
  demo.launch(
2295
  server_name=server_name,
@@ -2297,9 +2300,7 @@ def main():
2297
  share=False,
2298
  debug=False,
2299
  show_error=True,
2300
- quiet=True,
2301
- enable_queue=True,
2302
- max_threads=10
2303
  )
2304
 
2305
  except KeyboardInterrupt:
 
2290
  print(" - Watch observation gate change with confidence levels")
2291
  print(" - Export telemetry to see psychological component usage")
2292
 
2293
+ # Enable queue if needed (for concurrent requests)
2294
+ demo.queue() # This enables the queue in Gradio 6.x
2295
+
2296
  # Launch with enhanced configuration
2297
  demo.launch(
2298
  server_name=server_name,
 
2300
  share=False,
2301
  debug=False,
2302
  show_error=True,
2303
+ quiet=True
 
 
2304
  )
2305
 
2306
  except KeyboardInterrupt: