Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,9 +28,11 @@ client_z=[]
|
|
| 28 |
|
| 29 |
def load_models(inp):
|
| 30 |
print(type(inp))
|
|
|
|
| 31 |
client_z.clear()
|
| 32 |
if inp[0]:
|
| 33 |
client_z[0]=InferenceClient(models[inp[0]])
|
|
|
|
| 34 |
if inp[1]:
|
| 35 |
client_z[1]=InferenceClient(models[inp[1]])
|
| 36 |
if inp[2]:
|
|
|
|
| 28 |
|
| 29 |
def load_models(inp):
|
| 30 |
print(type(inp))
|
| 31 |
+
print(inp)
|
| 32 |
client_z.clear()
|
| 33 |
if inp[0]:
|
| 34 |
client_z[0]=InferenceClient(models[inp[0]])
|
| 35 |
+
|
| 36 |
if inp[1]:
|
| 37 |
client_z[1]=InferenceClient(models[inp[1]])
|
| 38 |
if inp[2]:
|