Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def load_models(inp,new_models):
|
|
25 |
out_box=[gr.Chatbot(),gr.Chatbot(),gr.Chatbot(),gr.Chatbot()]
|
26 |
print(type(inp))
|
27 |
print(inp)
|
28 |
-
print(new_models[inp[0]])
|
29 |
client_z.clear()
|
30 |
for z,ea in enumerate(inp):
|
31 |
client_z.append(InferenceClient(new_models[inp[z]]))
|
|
|
25 |
out_box=[gr.Chatbot(),gr.Chatbot(),gr.Chatbot(),gr.Chatbot()]
|
26 |
print(type(inp))
|
27 |
print(inp)
|
28 |
+
#print(new_models[inp[0]])
|
29 |
client_z.clear()
|
30 |
for z,ea in enumerate(inp):
|
31 |
client_z.append(InferenceClient(new_models[inp[z]]))
|