Ahsen Khaliq
commited on
Commit
·
408adbc
1
Parent(s):
8bcb11d
Update app.py
Browse files
app.py
CHANGED
@@ -19,6 +19,7 @@ description = "Gradio demo for PAMA: Consistent Style Transfer. To use it, simpl
|
|
19 |
|
20 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2201.02233' target='_blank'>Consistent Style Transfer</a> | <a href='https://github.com/computer-vision2022/PAMA' target='_blank'>Github Repo</a></p>"
|
21 |
|
|
|
22 |
gr.Interface(
|
23 |
inference,
|
24 |
[gr.inputs.Image(type="filepath", label="Content"),gr.inputs.Image(type="filepath", label="Style")],
|
@@ -26,4 +27,5 @@ gr.Interface(
|
|
26 |
title=title,
|
27 |
description=description,
|
28 |
article=article,
|
|
|
29 |
).launch(enable_queue=True)
|
|
|
19 |
|
20 |
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2201.02233' target='_blank'>Consistent Style Transfer</a> | <a href='https://github.com/computer-vision2022/PAMA' target='_blank'>Github Repo</a></p>"
|
21 |
|
22 |
+
examples=[['Hoover_Tower_Stanford_January_2013.jpeg','1513px-Van_Gogh_-_Starry_Night_-_Google_Art_Project.jpeg']]
|
23 |
gr.Interface(
|
24 |
inference,
|
25 |
[gr.inputs.Image(type="filepath", label="Content"),gr.inputs.Image(type="filepath", label="Style")],
|
|
|
27 |
title=title,
|
28 |
description=description,
|
29 |
article=article,
|
30 |
+
examples=examples
|
31 |
).launch(enable_queue=True)
|