rashid996958 commited on
Commit
f282748
·
1 Parent(s): f69473d

app.py fix

Browse files
Files changed (1) hide show
  1. app.py +4 -7
app.py CHANGED
@@ -64,14 +64,11 @@ def makeupTransfer(arr1,arr2):
64
  makeup = "input/ref.png"
65
  inference(no_makeup, makeup)
66
  return cv2.cvtColor(cv2.imread("output/scaled_2x.png"), cv2.COLOR_BGR2RGB)
67
- examples = [
68
- [,
69
- 'faces/no_makeup/xfsy_0521.png',
70
  'faces/makeup/vFG756.png'],
71
- [,
72
- 'faces/no_makeup/xfsy_0068.png',
73
- 'faces/makeup/XMY-136.png']
74
- ]
75
 
76
  app = gr.Interface(fn=makeupTransfer,
77
  inputs=[gr.Image(label="Reference Image",type='numpy'),
 
64
  makeup = "input/ref.png"
65
  inference(no_makeup, makeup)
66
  return cv2.cvtColor(cv2.imread("output/scaled_2x.png"), cv2.COLOR_BGR2RGB)
67
+ examples = [['faces/no_makeup/xfsy_0521.png',
 
 
68
  'faces/makeup/vFG756.png'],
69
+ [
70
+ 'faces/no_makeup/xfsy_0068.png',
71
+ 'faces/makeup/XMY-136.png']]
 
72
 
73
  app = gr.Interface(fn=makeupTransfer,
74
  inputs=[gr.Image(label="Reference Image",type='numpy'),