emilios commited on
Commit
843859b
·
verified ·
1 Parent(s): 4cfcc79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -52,13 +52,13 @@ def greet(image, in_contrast, in_brightness):
52
 
53
  return new_image
54
 
55
- demo = gradio.Interface(
56
  fn=greet,
57
  inputs=['image', gradio.Slider(1,3), gradio.Slider(0, 100)],
58
  outputs=['image'],
59
- examples=[['detail_with_lines_and_noise.jpg','llama.jpg']]
60
  )
61
- demo.launch()
62
 
63
 
64
 
 
52
 
53
  return new_image
54
 
55
+ iface = gradio.Interface(
56
  fn=greet,
57
  inputs=['image', gradio.Slider(1,3), gradio.Slider(0, 100)],
58
  outputs=['image'],
59
+ examples=[['detail_with_lines_and_noise.jpg']],
60
  )
61
+ iface.launch()
62
 
63
 
64