Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -52,13 +52,13 @@ def greet(image, in_contrast, in_brightness):
|
|
52 |
|
53 |
return new_image
|
54 |
|
55 |
-
|
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 |
-
|
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 |
|