lampongyuen commited on
Commit
eab34ad
·
1 Parent(s): f95e705

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- import gradio as gr
2
  import cv2
3
 
4
 
@@ -13,7 +13,7 @@ def inference(img, in_bright, in_contrast):
13
  # For Spaces usage, head to https://huggingface.co/docs/hub/spaces
14
  iface = gradio.Interface(
15
  fn=inference,
16
- inputs=['image',gr.Slider(0,100),gr.Slider(0,100)],
17
  outputs='image',
18
  title='Change Image',
19
  description='Interface!',
 
1
+ import gradio
2
  import cv2
3
 
4
 
 
13
  # For Spaces usage, head to https://huggingface.co/docs/hub/spaces
14
  iface = gradio.Interface(
15
  fn=inference,
16
+ inputs=['image',gradio.Slider(0,100),gradio.Slider(0,100)],
17
  outputs='image',
18
  title='Change Image',
19
  description='Interface!',