Instructions to use VitoCorleone72/AP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use VitoCorleone72/AP with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("VitoCorleone72/AP") prompt = "UNICODE\u0000\u0000M\u0000i\u0000d\u0000-\u0000s\u0000h\u0000o\u0000t\u0000 \u0000p\u0000o\u0000r\u0000t\u0000r\u0000a\u0000i\u0000t\u0000 \u0000o\u0000f\u0000 \u0000a\u0000 \u0000w\u0000o\u0000m\u0000a\u0000n\u0000 \u0000a\u0000u\u0000b\u0000r\u0000e\u0000y\u0000 \u0000p\u0000l\u0000a\u0000z\u0000a\u0000 \u0000i\u0000n\u0000 \u0000a\u0000n\u0000 \u0000h\u0000i\u0000 \u0000t\u0000e\u0000c\u0000h\u0000 \u0000o\u0000f\u0000f\u0000i\u0000c\u0000e\u0000 \u0000w\u0000i\u0000t\u0000h\u0000 \u0000b\u0000l\u0000a\u0000z\u0000e\u0000r\u0000 \u0000a\u0000n\u0000d\u0000 \u0000a\u0000 \u0000s\u0000h\u0000i\u0000r\u0000t\u0000 \u0000u\u0000n\u0000d\u0000e\u0000r\u0000 \u0000 \u0000 \u0000<\u0000l\u0000o\u0000r\u0000a\u0000:\u0000a\u0000u\u0000b\u0000r\u0000e\u0000y\u0000_\u0000p\u0000l\u0000a\u0000z\u0000a\u0000_\u0000f\u0000l\u0000u\u0000x\u0000_\u0000l\u0000o\u0000r\u0000a\u0000_\u0000v\u00001\u0000_\u00000\u00000\u00000\u00000\u00000\u00002\u00000\u00000\u00000\u0000:\u00001\u0000>\u0000" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Delete README.md
#1
by Gopisahoo - opened
import anthropic
client = anthropic.Anthropic(
# Apna API Key yahan dalein
api_key="YOUR_ANTHROPIC_API_KEY",
)
message = client.messages.create(
model="claude-3-opus-20240229",
max_tokens=1000,
temperature=0,
system="Aap ek helpful assistant hain.",
messages=[
{
"role": "user",
"content": [
{
"type": "text",
"text": "Hello Claude, kaise ho?"
}
]
}
]
)
print(message.content[0].text)