zzk1st commited on
Commit
e6776c1
1 Parent(s): 6e692db

Changed max_size to 3 to limit GPT-4 usage

Browse files
Files changed (1) hide show
  1. ui_client.py +1 -1
ui_client.py CHANGED
@@ -628,5 +628,5 @@ with gr.Blocks(css=css) as interface:
628
  # debug only
629
  # print_state_btn = gr.Button(value='Print State')
630
  # print_state_btn.click(fn=lambda state, state2: print(state, state2), inputs=[ui_state, selected_voice_presets])
631
- interface.queue(concurrency_count=10, max_size=20)
632
  interface.launch()
 
628
  # debug only
629
  # print_state_btn = gr.Button(value='Print State')
630
  # print_state_btn.click(fn=lambda state, state2: print(state, state2), inputs=[ui_state, selected_voice_presets])
631
+ interface.queue(concurrency_count=3, max_size=3)
632
  interface.launch()