Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -95,19 +95,19 @@ with gr.Blocks(css="app/style.css") as demo:
|
|
95 |
],
|
96 |
]
|
97 |
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
|
112 |
inputs = [
|
113 |
input_image,
|
|
|
95 |
],
|
96 |
]
|
97 |
|
98 |
+
gr.Examples(
|
99 |
+
examples=examples,
|
100 |
+
inputs=[
|
101 |
+
input_image,
|
102 |
+
src_prompt,
|
103 |
+
tgt_prompt,
|
104 |
+
seed,
|
105 |
+
w1,
|
106 |
+
],
|
107 |
+
outputs=[result],
|
108 |
+
fn=main_pipeline,
|
109 |
+
cache_examples=True,
|
110 |
+
)
|
111 |
|
112 |
inputs = [
|
113 |
input_image,
|