TextToImage2 / app.py
fabianad's picture
Update app.py
5e5237d verified
raw
history blame contribute delete
168 Bytes
import os
token = os.getenv('token')
from huggingface_hub import login
login(token=token)
import gradio as gr
gr.load("models/black-forest-labs/FLUX.1-dev").launch()