API is not working?

#1
by TopGeek - opened

from gradio_client import Client

client = Client("KingNish/OpenCHAT-mini")
result = client.predict(
message={"text":"","files":[]},
api_name="/chat"
)
print(result)

Has anyone managed to make with script work?
Thanks in advance

Sign up or log in to comment