Aston-xMAD's picture
init commit
b37c16f verified
raw
history blame contribute delete
259 Bytes
from gradio_client import Client
username = "1bitchatbotdemo"
password = "hopeyoulikeit"
client = Client("xmadai/1bit-xmad-demo-wu", auth=[username, password])
result = client.predict(
message="what is huggingface",
api_name="/chat"
)
print(result)