IDKiro commited on
Commit
0f47633
1 Parent(s): b1e796a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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 (only CPU now)")
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[1],
286
- interactive=False,
287
- info='No funding to provide GPU-based demos now. Please choose CPU!')
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',