Omnibus commited on
Commit
860d7ef
1 Parent(s): d24830e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,8 +21,8 @@ def load_models(inp):
21
  print(type(inp))
22
  print(inp)
23
  print(models[inp])
24
- model_state= InferenceClient(models[inp[z]])
25
- out_box=(gr.update(label=models[inp]))
26
  return out_box, model_state
27
 
28
  VERBOSE=False
 
21
  print(type(inp))
22
  print(inp)
23
  print(models[inp])
24
+ model_state= InferenceClient(models[inp])
25
+ out_box=gr.update(label=models[inp])
26
  return out_box, model_state
27
 
28
  VERBOSE=False