mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Fix duplicated "scenario" tag.
This commit is contained in:
parent
1fa1e21692
commit
5bfe96f753
@ -742,7 +742,7 @@ def build_context(data : str, charName : str):
|
||||
|
||||
for scenarioKey in scenarioKeys:
|
||||
if scenarioKey in data and data[scenarioKey] != '':
|
||||
scenarioStrings.append(f"Scenario: {data[scenarioKey].strip()}")
|
||||
scenarioStrings.append(f"{data[scenarioKey].strip()}")
|
||||
|
||||
for exDialogKey in exDialogKeys:
|
||||
if exDialogKey in data and data[exDialogKey] != '':
|
||||
|
Loading…
Reference in New Issue
Block a user