Guys, I want to import a python script using libraries (pip) into Unity 3D and so that I can run it from a C# script, and so that a specific variable from Python is transferred to the unity console, but I do not know how to do this, can you help?
Python code
from gradio_client import Client
client = Client("yuntian-deng/ChatGPT4Turbo")
result = client.predict(
inputs="Hello!!",
top_p=1,
temperature=1,
chat_counter=0,
chatbot=[],
api_name="/predict"
)
print(result)
I want him to output the result variable to the console