Fix example
Browse files- x2rgb/gradio_demo_x2rgb.py +13 -11
x2rgb/gradio_demo_x2rgb.py
CHANGED
@@ -184,17 +184,19 @@ with gr.Blocks() as demo:
|
|
184 |
)
|
185 |
examples = gr.Examples(
|
186 |
examples=[
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
|
|
|
|
198 |
],
|
199 |
inputs=[
|
200 |
albedo,
|
|
|
184 |
)
|
185 |
examples = gr.Examples(
|
186 |
examples=[
|
187 |
+
[
|
188 |
+
"x2rgb/example/kitchen-albedo.png", # albedo
|
189 |
+
"x2rgb/example/kitchen-normal.png", # normal
|
190 |
+
"x2rgb/example/kitchen-roughness.png", # roughness
|
191 |
+
"x2rgb/example/kitchen-metallic.png", # metallic
|
192 |
+
"x2rgb/example/kitchen-irradiance.png", # irradiance
|
193 |
+
"Modern Kitchen", # prompt
|
194 |
+
0, # seed
|
195 |
+
50, # inference_step
|
196 |
+
1, # num_samples
|
197 |
+
7.5, # guidance_scale
|
198 |
+
1.5, # image_guidance_scale
|
199 |
+
]
|
200 |
],
|
201 |
inputs=[
|
202 |
albedo,
|