Show/hide the extensions block using javascript

This commit is contained in:
oobabooga 2023-03-15 16:34:31 -03:00
parent 348596f634
commit c1959c26ee
5 changed files with 19 additions and 3 deletions

View file

@ -215,7 +215,7 @@ if shared.args.chat or shared.args.cai_chat:
shared.gradio['display'] = gr.Chatbot(value=shared.history['visible']).style(color_map=("#326efd", "#212528"))
shared.gradio['textbox'] = gr.Textbox(label='Input')
with gr.Row():
shared.gradio['Stop'] = gr.Button('Stop')
shared.gradio['Stop'] = gr.Button('Stop', elem_id="stop")
shared.gradio['Generate'] = gr.Button('Generate')
with gr.Row():
shared.gradio['Impersonate'] = gr.Button('Impersonate')