## Python from gradio_client import Client client = Client("tensorgirl/Restaurant-Chatbot") result = client.predict( "Hello!!", # str in 'Message' Textbox component api_name="/chat" ) print(result) ## Javascript import { client } from "@gradio/client"; const app = await client("tensorgirl/Restaurant-Chatbot"); const result = await app.predict("/chat", [ "Hello!!", // string in 'Message' Textbox component ]); console.log(result.data);