Omnibus commited on
Commit
5a9fb13
1 Parent(s): 2962fbd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -21,7 +21,8 @@ client_z=[]
21
 
22
 
23
  def load_models(inp,new_models):
24
-
 
25
  out_box=[gr.Chatbot(),gr.Chatbot(),gr.Chatbot(),gr.Chatbot()]
26
  print(type(inp))
27
  print(inp)
 
21
 
22
 
23
  def load_models(inp,new_models):
24
+ if not new_models:
25
+ new_models=models
26
  out_box=[gr.Chatbot(),gr.Chatbot(),gr.Chatbot(),gr.Chatbot()]
27
  print(type(inp))
28
  print(inp)