hmb HF Staff commited on
Commit
10d2a69
·
verified ·
1 Parent(s): faf9ad7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -7,9 +7,7 @@ def image_mod(image):
7
  return image.rotate(45)
8
 
9
 
10
- cheetah = os.path.join(os.path.dirname(__file__), "images/cheetah1.jpg")
11
-
12
- demo = gr.Interface(image_mod, gr.Image(type="pil", value=cheetah), "image",
13
  flagging_options=["blurry", "incorrect", "other"], examples=[
14
  os.path.join(os.path.dirname(__file__), "images/dog.png"),
15
  ])
 
7
  return image.rotate(45)
8
 
9
 
10
+ demo = gr.Interface(image_mod, gr.Image(type="pil"), "image",
 
 
11
  flagging_options=["blurry", "incorrect", "other"], examples=[
12
  os.path.join(os.path.dirname(__file__), "images/dog.png"),
13
  ])