biplab2008 commited on
Commit
5e0e4a4
·
verified ·
1 Parent(s): 66760e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -9,7 +9,8 @@ def sepia(input_img):
9
  ])
10
  sepia_img = input_img.dot(sepia_filter.T)
11
  sepia_img /= sepia_img.max()
12
- return sepia_img
 
13
 
14
- demo = gr.Interface(sepia, gr.Image(), "image")
15
  demo.launch()
 
9
  ])
10
  sepia_img = input_img.dot(sepia_filter.T)
11
  sepia_img /= sepia_img.max()
12
+
13
+ return 'conversion complete'
14
 
15
+ demo = gr.Interface(sepia, gr.Image(), "text")
16
  demo.launch()