Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -249,7 +249,7 @@ async () => {
|
|
249 |
"""
|
250 |
|
251 |
with gr.Blocks(css="style.css") as demo:
|
252 |
-
gr.Markdown("# SDXS-512-DreamShaper-Sketch
|
253 |
# these are hidden buttons that are used to trigger the canvas changes
|
254 |
line = gr.Checkbox(label="line", value=False, elem_id="cb-line")
|
255 |
eraser = gr.Checkbox(label="eraser", value=False, elem_id="cb-eraser")
|
@@ -282,9 +282,9 @@ with gr.Blocks(css="style.css") as demo:
|
|
282 |
|
283 |
device_choices = ['GPU','CPU']
|
284 |
device_type = gr.Radio(device_choices, label='Device',
|
285 |
-
value=device_choices[
|
286 |
-
interactive=
|
287 |
-
info='
|
288 |
|
289 |
dtype_choices = ['torch.float16','torch.float32']
|
290 |
param_dtype = gr.Radio(dtype_choices,label='torch.weight_type',
|
|
|
249 |
"""
|
250 |
|
251 |
with gr.Blocks(css="style.css") as demo:
|
252 |
+
gr.Markdown("# SDXS-512-DreamShaper-Sketch")
|
253 |
# these are hidden buttons that are used to trigger the canvas changes
|
254 |
line = gr.Checkbox(label="line", value=False, elem_id="cb-line")
|
255 |
eraser = gr.Checkbox(label="eraser", value=False, elem_id="cb-eraser")
|
|
|
282 |
|
283 |
device_choices = ['GPU','CPU']
|
284 |
device_type = gr.Radio(device_choices, label='Device',
|
285 |
+
value=device_choices[0],
|
286 |
+
interactive=True,
|
287 |
+
info='Many thanks to the community for the GPU!')
|
288 |
|
289 |
dtype_choices = ['torch.float16','torch.float32']
|
290 |
param_dtype = gr.Radio(dtype_choices,label='torch.weight_type',
|