tree3po commited on
Commit
091311d
1 Parent(s): dfcc13c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("models/" + 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):
 
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):