tree3po commited on
Commit
b760773
1 Parent(s): 3208b6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("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):
 
18
  #print(new_models[inp[0]])
19
  client_z.clear()
20
  for z,ea in enumerate(inp):
21
+ client_z.append(gr.Interface("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):