Akash James commited on
Commit
1c5ae49
1 Parent(s): 000a894

Disable radio button; slow algorithm is too slow 😡

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ if __name__ == '__main__':
45
  gr.Image(label='Stylize Image'),
46
  gr.Checkbox(value=False, label='Use CUDA'),
47
  gr.Checkbox(value=False, label='Post Processing'),
48
- gr.Radio(choices=["Guided Image Filtering (Fast)", "Photorealisitic Smoothing (Slow)"], value="Guided Image Filtering (Fast)", type="index", label="Algorithm"),
49
  ],
50
  outputs=[gr.Image(
51
  type="pil",
 
45
  gr.Image(label='Stylize Image'),
46
  gr.Checkbox(value=False, label='Use CUDA'),
47
  gr.Checkbox(value=False, label='Post Processing'),
48
+ gr.Radio(choices=["Guided Image Filtering (Fast)", "Photorealisitic Smoothing (Slow)"], value="Guided Image Filtering (Fast)", type="index", label="Algorithm", interactive=False),
49
  ],
50
  outputs=[gr.Image(
51
  type="pil",