1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "text": "Artificial intelligence (AI) is transforming industries by automating tasks and providing insights from data. However, AI-generated text can sometimes sound robotic. This tool helps humanize AI text to make it more natural and engaging." }
9
10
11run = client.actor("neatrat/humanize-ai-text").call(run_input=run_input)
12
13
14print(f"πΎ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
15for item in client.dataset(run.default_dataset_id).iterate_items():
16 print(item)
17
18