from huggingface_hub import InferenceClient
token= "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"
tokenr = "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"
client = InferenceClient(token=token)

image = client.text_to_image("An astronaut riding a horse on the moon.")
image.save("astronaut.png")
