Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import random
|
|
12 |
translator = Translator()
|
13 |
|
14 |
# Constants
|
15 |
-
model = "
|
16 |
|
17 |
CSS = """
|
18 |
.gradio-container {
|
@@ -76,9 +76,9 @@ examples = [
|
|
76 |
|
77 |
# Gradio Interface
|
78 |
|
79 |
-
with gr.Blocks(css=CSS, theme="
|
80 |
-
gr.HTML("<h1><center>
|
81 |
-
gr.HTML("<p><center><a href='https://huggingface.co/
|
82 |
with gr.Group():
|
83 |
with gr.Row():
|
84 |
prompt = gr.Textbox(label='Enter Your Prompt(multilingual)', scale=6)
|
@@ -106,14 +106,14 @@ with gr.Blocks(css=CSS, theme="xiaobaiyuan/theme_brief") as demo:
|
|
106 |
minimum=0,
|
107 |
maximum=50,
|
108 |
step=0.1,
|
109 |
-
value=3.
|
110 |
)
|
111 |
steps = gr.Slider(
|
112 |
label="Steps",
|
113 |
minimum=1,
|
114 |
maximum=50,
|
115 |
step=1,
|
116 |
-
value=
|
117 |
)
|
118 |
with gr.Row():
|
119 |
seed = gr.Slider(
|
|
|
12 |
translator = Translator()
|
13 |
|
14 |
# Constants
|
15 |
+
model = "aixonlab/flux.1-lumiere-alpha"
|
16 |
|
17 |
CSS = """
|
18 |
.gradio-container {
|
|
|
76 |
|
77 |
# Gradio Interface
|
78 |
|
79 |
+
with gr.Blocks(css=CSS, theme="kotaemon") as demo:
|
80 |
+
gr.HTML("<h1><center>flux.1-lumiere</center></h1>")
|
81 |
+
gr.HTML("<p><center><a href='https://huggingface.co/aixonlab/flux.1-lumiere-alpha</a></center></p>")
|
82 |
with gr.Group():
|
83 |
with gr.Row():
|
84 |
prompt = gr.Textbox(label='Enter Your Prompt(multilingual)', scale=6)
|
|
|
106 |
minimum=0,
|
107 |
maximum=50,
|
108 |
step=0.1,
|
109 |
+
value=3.0,
|
110 |
)
|
111 |
steps = gr.Slider(
|
112 |
label="Steps",
|
113 |
minimum=1,
|
114 |
maximum=50,
|
115 |
step=1,
|
116 |
+
value=28,
|
117 |
)
|
118 |
with gr.Row():
|
119 |
seed = gr.Slider(
|