Tinsae commited on
Commit
f7b54b4
1 Parent(s): 5a39fd2

with image

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,14 +17,14 @@ def sepia(input_img):
17
  )
18
  sepia_img = input_img.dot(sepia_filter.T)
19
  sepia_img /= sepia_img.max()
20
- return gr.Video(value = "https://www.youtube.com/watch?v=i4HMxga-fxo&ab_channel=DailyStoic" )
21
 
22
 
23
  examples = [f'{EXAMPLES_PATH}/{f.name}' for f in EXAMPLES_PATH.iterdir()]
24
 
25
  demo = gr.Interface(sepia,
26
  "image",
27
- "video",
28
 
29
  examples= examples,
30
  title=title,
 
17
  )
18
  sepia_img = input_img.dot(sepia_filter.T)
19
  sepia_img /= sepia_img.max()
20
+ return sepia_img
21
 
22
 
23
  examples = [f'{EXAMPLES_PATH}/{f.name}' for f in EXAMPLES_PATH.iterdir()]
24
 
25
  demo = gr.Interface(sepia,
26
  "image",
27
+ "image",
28
 
29
  examples= examples,
30
  title=title,