Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -195,19 +195,16 @@ def img2img(input_image, denoising, prompt, negative_prompt, model, steps, sampl
|
|
| 195 |
|
| 196 |
|
| 197 |
css = """
|
| 198 |
-
|
| 199 |
-
height: 100%;
|
| 200 |
-
}
|
| 201 |
"""
|
| 202 |
|
| 203 |
with gr.Blocks(css=css) as demo:
|
|
|
|
|
|
|
|
|
|
| 204 |
|
| 205 |
with gr.Tabs() as tabs:
|
| 206 |
-
|
| 207 |
-
with gr.Row():
|
| 208 |
-
with gr.Column(scale=6):
|
| 209 |
-
model = gr.Radio(interactive=True,value="absolutereality_v181.safetensors [3d9d4d2b]", show_label=True, label="Модель", choices=prodia_client.list_models())
|
| 210 |
-
|
| 211 |
with gr.Tab("txt2img", id='t2i'):
|
| 212 |
|
| 213 |
with gr.Row():
|
|
|
|
| 195 |
|
| 196 |
|
| 197 |
css = """
|
| 198 |
+
|
|
|
|
|
|
|
| 199 |
"""
|
| 200 |
|
| 201 |
with gr.Blocks(css=css) as demo:
|
| 202 |
+
with gr.Row():
|
| 203 |
+
with gr.Column(scale=6):
|
| 204 |
+
model = gr.Dropdown(interactive=True,value="absolutereality_v181.safetensors [3d9d4d2b]", show_label=True, label="Модель", choices=prodia_client.list_models())
|
| 205 |
|
| 206 |
with gr.Tabs() as tabs:
|
| 207 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
| 208 |
with gr.Tab("txt2img", id='t2i'):
|
| 209 |
|
| 210 |
with gr.Row():
|