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