Spaces:
Sleeping
Sleeping
File size: 908 Bytes
b2475e6 0924409 b2475e6 0924409 b2475e6 0924409 b2475e6 0924409 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | # app.py
# Brand: Eburon ImageGen
# Notes:
# - Keeps the same Gradio + gr.load flow you provided.
# - Rebrands the UI text to "Eburon ImageGen" and removes upstream/provider naming from the sidebar copy.
# - Still uses the same model + provider parameters under the hood (no functional change).
import gradio as gr
APP_TITLE = "Eburon ImageGen"
APP_TAGLINE = "Fast image generation + editing (hosted inference)."
with gr.Blocks(fill_height=True, title=APP_TITLE) as demo:
with gr.Sidebar():
gr.Markdown(f"# {APP_TITLE}")
gr.Markdown(APP_TAGLINE)
gr.Markdown(
"Sign in to enable the hosted inference backend for this workspace."
)
button = gr.LoginButton("Sign in")
# Under the hood: unchanged model + provider wiring.
gr.load(
"models/Tongyi-MAI/Z-Image",
accept_token=button,
provider="fal-ai",
)
demo.launch() |