Spaces:
Runtime error
Runtime error
Commit
·
f282748
1
Parent(s):
f69473d
app.py fix
Browse files
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 |
-
|
| 73 |
-
|
| 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'),
|