Move all gradio elements to shared (so that extensions can use them)

This commit is contained in:
oobabooga 2023-02-24 16:46:50 -03:00
parent 0a3590da8c
commit 65326b545a
6 changed files with 127 additions and 124 deletions

View file

@ -11,6 +11,9 @@ history = {'internal': [], 'visible': []}
character = 'None'
stop_everything = False
# UI elements (buttons, sliders, HTML, etc)
gradio = {}
settings = {
'max_new_tokens': 200,
'max_new_tokens_min': 1,