Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def load_models(inp,new_models):
|
|
18 |
#print(new_models[inp[0]])
|
19 |
client_z.clear()
|
20 |
for z,ea in enumerate(inp):
|
21 |
-
client_z.append(gr.load(new_models[inp[z]]))
|
22 |
out_box[z]=(gr.update(label=new_models[inp[z]]))
|
23 |
return out_box[0],out_box[1],out_box[2],out_box[3]
|
24 |
def format_prompt_default(message, history):
|
|
|
18 |
#print(new_models[inp[0]])
|
19 |
client_z.clear()
|
20 |
for z,ea in enumerate(inp):
|
21 |
+
client_z.append(gr.load("models/" + new_models[inp[z]]))
|
22 |
out_box[z]=(gr.update(label=new_models[inp[z]]))
|
23 |
return out_box[0],out_box[1],out_box[2],out_box[3]
|
24 |
def format_prompt_default(message, history):
|