SDXL / app.py
Megalino111's picture
Update app.py
37b0b72
raw
history blame
396 Bytes
import gradio as gr
import os
repo_id = "stabilityai/stable-diffusion-xl-base-0.9"
hf_token="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"
os.environ.get("HF_TOKEN")
#stabilityai/stable-diffusion-xl-refiner-0.9
#client = Client.duplicate("stabilityai/stable-diffusion-xl-base-0.9")
gr.Blocks = factory_methods["stabilityai/stable-diffusion-xl-base-0.9"](name="leonel", hf_****=hf_token)
gr.launch()