Spaces:
Sleeping
Sleeping
Commit
•
5366491
1
Parent(s):
8f40af2
Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ def predict(
|
|
102 |
css = """
|
103 |
#container{
|
104 |
margin: 0 auto;
|
105 |
-
max-width:
|
106 |
}
|
107 |
#intro{
|
108 |
max-width: 100%;
|
@@ -121,7 +121,7 @@ with gr.Blocks(css=css) as demo:
|
|
121 |
with gr.Row():
|
122 |
with gr.Row():
|
123 |
prompt = gr.Textbox(
|
124 |
-
placeholder="Insert your prompt here:",
|
125 |
)
|
126 |
generate_bt = gr.Button("Generate", scale=1)
|
127 |
|
@@ -134,7 +134,7 @@ with gr.Blocks(css=css) as demo:
|
|
134 |
seed = gr.Slider(
|
135 |
randomize=True, minimum=0, maximum=12013012031030, label="Seed", step=1
|
136 |
)
|
137 |
-
with gr.
|
138 |
gr.Markdown('''## Running LCM-LoRAs it with `diffusers`
|
139 |
```bash
|
140 |
pip install diffusers==0.23.0
|
|
|
102 |
css = """
|
103 |
#container{
|
104 |
margin: 0 auto;
|
105 |
+
max-width: 40rem;
|
106 |
}
|
107 |
#intro{
|
108 |
max-width: 100%;
|
|
|
121 |
with gr.Row():
|
122 |
with gr.Row():
|
123 |
prompt = gr.Textbox(
|
124 |
+
placeholder="Insert your prompt here:", scale=5, container=False
|
125 |
)
|
126 |
generate_bt = gr.Button("Generate", scale=1)
|
127 |
|
|
|
134 |
seed = gr.Slider(
|
135 |
randomize=True, minimum=0, maximum=12013012031030, label="Seed", step=1
|
136 |
)
|
137 |
+
with gr.accordion("Run with diffusers"):
|
138 |
gr.Markdown('''## Running LCM-LoRAs it with `diffusers`
|
139 |
```bash
|
140 |
pip install diffusers==0.23.0
|