mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
Spaces
This commit is contained in:
parent
e202190c4f
commit
2463d7c098
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user