Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -203,14 +203,15 @@ def img2img(input_image, denoising, prompt, negative_prompt, model, steps, sampl
|
|
| 203 |
|
| 204 |
|
| 205 |
# Ссылка на файл CSS
|
| 206 |
-
css_url = "https://
|
| 207 |
|
| 208 |
# Получение CSS по ссылке
|
| 209 |
response = requests.get(css_url)
|
| 210 |
-
css = response.text
|
| 211 |
|
| 212 |
|
| 213 |
with gr.Blocks(css=css) as demo:
|
|
|
|
| 214 |
with gr.Row():
|
| 215 |
with gr.Accordion(label="Модель", open=False):
|
| 216 |
model = gr.Radio(interactive=True, value="absolutereality_v181.safetensors [3d9d4d2b]", show_label=False, choices=prodia_client.list_models())
|
|
|
|
| 203 |
|
| 204 |
|
| 205 |
# Ссылка на файл CSS
|
| 206 |
+
css_url = "https://neurixyufi-aihub.static.hf.space/style.css"
|
| 207 |
|
| 208 |
# Получение CSS по ссылке
|
| 209 |
response = requests.get(css_url)
|
| 210 |
+
css = response.text + " .gradio-container{max-width: 700px !important} h1{text-align:center}"
|
| 211 |
|
| 212 |
|
| 213 |
with gr.Blocks(css=css) as demo:
|
| 214 |
+
gr.Markdown("# Stable Diffusion")
|
| 215 |
with gr.Row():
|
| 216 |
with gr.Accordion(label="Модель", open=False):
|
| 217 |
model = gr.Radio(interactive=True, value="absolutereality_v181.safetensors [3d9d4d2b]", show_label=False, choices=prodia_client.list_models())
|