from clarifai.client.model import Model
prompt ="What's the future of AI?"model_url="https://clarifai.com/helsinkinlp/translation/models/text-translation-arabic-english"model_prediction = Model(url=model_url, pat="YOUR_PAT_HERE").predict_by_bytes(prompt.encode())print(model_prediction.outputs[0].data.text.raw)