Spaces:
Runtime error
Runtime error
Commit
·
d1c3f6b
1
Parent(s):
9e3f56f
Update app.py
Browse files
app.py
CHANGED
@@ -121,9 +121,9 @@ with gr.Blocks(css=css) as demo:
|
|
121 |
with gr.Row():
|
122 |
with gr.Box(elem_id="main-image"):
|
123 |
canvas_data = gr.JSON(value={}, visible=False)
|
|
|
124 |
canvas = gr.HTML(canvas_html)
|
125 |
aspect = gr.Radio(["square", "horizontal", "vertical"], value="square", label="Aspect Ratio", visible=False)
|
126 |
-
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)
|
127 |
button_run = gr.Button("I've finished my sketch",elem_id="main_button", interactive=True)
|
128 |
|
129 |
prompts = []
|
|
|
121 |
with gr.Row():
|
122 |
with gr.Box(elem_id="main-image"):
|
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 = []
|