Only replace {{user}} and {{char}} at generation time

This commit is contained in:
oobabooga 2023-07-30 11:42:30 -07:00
parent 6e16af34fd
commit 5ca37765d3
3 changed files with 21 additions and 22 deletions

View file

@ -720,7 +720,7 @@ def create_interface():
shared.gradio['Submit character'] = gr.Button(value='Submit', interactive=False)
with gr.Tab('TavernAI'):
with gr.Tab('TavernAI PNG'):
with gr.Row():
with gr.Column():
shared.gradio['upload_img_tavern'] = gr.Image(type='pil', label='TavernAI PNG File', elem_id="upload_img_tavern")