Gradio ChatInterface REST API
Hello,I have deployed a RAG Chatbot using Gradio ChatInterface. The Gradio API documentation suggests to use the Gradio Client to run the below:from gradio_client import Client

client = Client("https://username-spacename.hf.space/")
result = client.predict(
		"Hello!!",	# str in 'parameter_0' Textbox component
		api_name="/chat"
)
print(result)Instead I am trying to invoke it using REST API (below) but it fails. Any suggestions please?URL:https://username-spacename.hf.space/run/predictMETHOD: POSTPAYLOAD:{     "detail": [         "What is a Trigger?"     ] }Thanks.