Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ with gr.Blocks() as demo:
|
|
61 |
target_2 = gr.Image(label="Reference color hair you want to get (optional)", type="filepath")
|
62 |
btn = gr.Button("Get the haircut")
|
63 |
output = gr.Image(label="Your result")
|
64 |
-
gr.Examples(examples=[
|
65 |
source.upload(fn=resize, input=source, output=source)
|
66 |
target_1.upload(fn=resize, input=target_1, output=target_1)
|
67 |
target_2.upload(fn=resize, input=target_2, output=target_2)
|
|
|
61 |
target_2 = gr.Image(label="Reference color hair you want to get (optional)", type="filepath")
|
62 |
btn = gr.Button("Get the haircut")
|
63 |
output = gr.Image(label="Your result")
|
64 |
+
gr.Examples(examples=[["michael_cera-min.png", "leo_square-min.png", "pink_hair_celeb-min.png"]], inputs=[source, target_1, target_2], outputs=output)
|
65 |
source.upload(fn=resize, input=source, output=source)
|
66 |
target_1.upload(fn=resize, input=target_1, output=target_1)
|
67 |
target_2.upload(fn=resize, input=target_2, output=target_2)
|