This commit is contained in:
oobabooga 2023-07-12 11:35:43 -07:00
parent e202190c4f
commit 2463d7c098

View File

@ -126,8 +126,6 @@ def input_modifier(string):
return string return string
# Get and save the Stable Diffusion-generated picture # Get and save the Stable Diffusion-generated picture
def get_SD_pictures(description, character): def get_SD_pictures(description, character):
global params global params
@ -188,8 +186,6 @@ def get_SD_pictures(description, character):
# TODO: how do I make the UI history ignore the resulting pictures (I don't want HTML to appear in history) # TODO: how do I make the UI history ignore the resulting pictures (I don't want HTML to appear in history)
# and replace it with 'text' for the purposes of logging? # and replace it with 'text' for the purposes of logging?
def output_modifier(string, state): def output_modifier(string, state):
""" """
This function is applied to the model outputs. This function is applied to the model outputs.