Update app.py
Browse files
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
|
25 |
-
out_box=
|
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
|