synthetic-data-generator / examples /argilla_deployment.py
ftnext
Add inline script metadata for users to launch example apps easily
515cb6c
raw
history blame
419 Bytes
# /// script
# requires-python = ">=3.11,<3.12"
# dependencies = [
# "synthetic-dataset-generator",
# ]
# ///
import os
from synthetic_dataset_generator import launch
# Follow https://docs.argilla.io/latest/getting_started/quickstart/ to get your Argilla API key and URL
os.environ["ARGILLA_API_URL"] = "https://[your-owner-name]-[your_space_name].hf.space"
os.environ["ARGILLA_API_KEY"] = "my_api_key"
launch()