Ferdi commited on
Commit
6bfb5b9
1 Parent(s): 9dc55f2

empty list for button func

Browse files
Files changed (1) hide show
  1. src/app.py +1 -1
src/app.py CHANGED
@@ -49,7 +49,7 @@ with gr.Blocks(gr.themes.Soft(primary_hue=gr.themes.colors.slate, secondary_hue=
49
  with gr.Column(scale=1):
50
  clear_btn = gr.Button('Clear',variant='stop',size = 'sm')
51
 
52
- model_load_btn.click(load_models, load_success_msg, api_name="load_models")
53
 
54
  txt.submit(add_text, [chatbot, txt], [chatbot, txt]).then(
55
  bot, [chatbot,instruction,temperature,max_new_tokens,k_context], chatbot)
 
49
  with gr.Column(scale=1):
50
  clear_btn = gr.Button('Clear',variant='stop',size = 'sm')
51
 
52
+ model_load_btn.click(load_models, [],load_success_msg, api_name="load_models")
53
 
54
  txt.submit(add_text, [chatbot, txt], [chatbot, txt]).then(
55
  bot, [chatbot,instruction,temperature,max_new_tokens,k_context], chatbot)