Spaces:
Running
Running
Update app.py
Browse files
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)
|