Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def load_models(inp,new_models):
|
|
43 |
#print(new_models[inp[0]])
|
44 |
client_z.clear()
|
45 |
for z,ea in enumerate(inp):
|
46 |
-
client_z.append(InferenceClient(new_models[inp[z]],token='$
|
47 |
out_box[z]=(gr.update(label=new_models[inp[z]]))
|
48 |
return out_box[0],out_box[1],out_box[2],out_box[3]
|
49 |
|
|
|
43 |
#print(new_models[inp[0]])
|
44 |
client_z.clear()
|
45 |
for z,ea in enumerate(inp):
|
46 |
+
client_z.append(InferenceClient(new_models[inp[z]],token='$HF_TOKEN'))
|
47 |
out_box[z]=(gr.update(label=new_models[inp[z]]))
|
48 |
return out_box[0],out_box[1],out_box[2],out_box[3]
|
49 |
|