mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
Fix typing error
This commit is contained in:
parent
6b67cb6611
commit
8515f19078
@ -126,9 +126,9 @@ def feed_url_into_collector(urls, chunk_len):
|
|||||||
|
|
||||||
def apply_settings(_chunk_count):
|
def apply_settings(_chunk_count):
|
||||||
global chunk_count
|
global chunk_count
|
||||||
chunk_count = _chunk_count
|
chunk_count = int(_chunk_count)
|
||||||
settings_to_display = {
|
settings_to_display = {
|
||||||
'chunk_count': int(chunk_count),
|
'chunk_count': chunk_count,
|
||||||
}
|
}
|
||||||
yield f"The following settings are now active: {str(settings_to_display)}"
|
yield f"The following settings are now active: {str(settings_to_display)}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user