Spaces:
Runtime error
Runtime error
LucyintheSky
commited on
Commit
β’
b963931
1
Parent(s):
ae649d8
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ iface = gr.Interface(fn=search,
|
|
55 |
description="""
|
56 |
<center><img src="https://cdn.discordapp.com/attachments/1120417968032063538/1201666647157657640/LucyITS-2022-blk.png?ex=65caa646&is=65b83146&hm=09ad6fe279edc3a32981306d563e63af815d760fc0d8d0a3fbef4e4553c0a83a&"> </center>
|
57 |
"""
|
58 |
-
inputs=gr.ImageEditor(type='filepath', value={'background': './template', 'layers': None, 'composite': None}),
|
59 |
outputs=[gr.Gallery(label='Similar', object_fit='contain'), gr.Image(label='Face'), gr.Gallery(), gr.Gallery()],
|
60 |
#examples=[['./images/tony.jpg'],['./images/jessica.jpg'],['./images/scarlett.jpg'],['./images/christian.jpg']],
|
61 |
theme = gr.themes.Base(primary_hue="teal",secondary_hue="teal",neutral_hue="slate"),)
|
|
|
55 |
description="""
|
56 |
<center><img src="https://cdn.discordapp.com/attachments/1120417968032063538/1201666647157657640/LucyITS-2022-blk.png?ex=65caa646&is=65b83146&hm=09ad6fe279edc3a32981306d563e63af815d760fc0d8d0a3fbef4e4553c0a83a&"> </center>
|
57 |
"""
|
58 |
+
inputs=gr.ImageEditor(type='filepath', value={'background': './template.JPG', 'layers': None, 'composite': None}),
|
59 |
outputs=[gr.Gallery(label='Similar', object_fit='contain'), gr.Image(label='Face'), gr.Gallery(), gr.Gallery()],
|
60 |
#examples=[['./images/tony.jpg'],['./images/jessica.jpg'],['./images/scarlett.jpg'],['./images/christian.jpg']],
|
61 |
theme = gr.themes.Base(primary_hue="teal",secondary_hue="teal",neutral_hue="slate"),)
|