Skip to content

Commit

Permalink
Introduce dynamic execution queue count
Browse files Browse the repository at this point in the history
  • Loading branch information
henryruhs committed Aug 7, 2023
1 parent e6c80bf commit fea6a0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roop/uis/__components__/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def update_execution_thread_count(execution_thread_count: int = 1) -> Dict[Any,
roop.globals.execution_thread_count = execution_thread_count
return gradio.update(value=execution_thread_count)


def update_execution_queue_count(execution_queue_count: int = 1) -> Dict[Any, Any]:
roop.globals.execution_queue_count = execution_queue_count
return gradio.update(value=execution_queue_count)
Expand Down

0 comments on commit fea6a0c

Please sign in to comment.