Commit
•
d2336e9
1
Parent(s):
d1c3f6b
Update app.py
Browse files
app.py
CHANGED
@@ -123,7 +123,7 @@ with gr.Blocks(css=css) as demo:
|
|
123 |
canvas_data = gr.JSON(value={}, visible=False)
|
124 |
model = gr.Textbox(label="The id of any Hugging Face model in the diffusers format", value="stabilityai/stable-diffusion-2-1-base", visible=False if is_shared_ui else True)
|
125 |
canvas = gr.HTML(canvas_html)
|
126 |
-
aspect = gr.Radio(["square", "horizontal", "vertical"], value="square", label="Aspect Ratio", visible=False)
|
127 |
button_run = gr.Button("I've finished my sketch",elem_id="main_button", interactive=True)
|
128 |
|
129 |
prompts = []
|
|
|
123 |
canvas_data = gr.JSON(value={}, visible=False)
|
124 |
model = gr.Textbox(label="The id of any Hugging Face model in the diffusers format", value="stabilityai/stable-diffusion-2-1-base", visible=False if is_shared_ui else True)
|
125 |
canvas = gr.HTML(canvas_html)
|
126 |
+
aspect = gr.Radio(["square", "horizontal", "vertical"], value="square", label="Aspect Ratio", visible=False if is_shared_ui else True)
|
127 |
button_run = gr.Button("I've finished my sketch",elem_id="main_button", interactive=True)
|
128 |
|
129 |
prompts = []
|