Spaces:
Runtime error
Runtime error
Aguilar Elizondo commited on
Commit ·
5c2a4fb
1
Parent(s): ed790b7
Remove gr.Examples to avoid JSON schema bug
Browse files
app.py
CHANGED
|
@@ -214,18 +214,6 @@ with gr.Blocks(title="Architecture AI Enhancer", theme=gr.themes.Soft()) as demo
|
|
| 214 |
],
|
| 215 |
outputs=output_image
|
| 216 |
)
|
| 217 |
-
|
| 218 |
-
# Example images
|
| 219 |
-
gr.Examples(
|
| 220 |
-
examples=[
|
| 221 |
-
["examples/render1.jpg", 0.3, 5.5, "", True, True],
|
| 222 |
-
["examples/render2.jpg", 0.4, 6.0, "", True, True],
|
| 223 |
-
],
|
| 224 |
-
inputs=[input_image, strength, guidance_scale, custom_prompt, use_upscaler, use_postprocess],
|
| 225 |
-
outputs=output_image,
|
| 226 |
-
fn=enhance_image_gradio,
|
| 227 |
-
cache_examples=False
|
| 228 |
-
)
|
| 229 |
|
| 230 |
# Launch configuration
|
| 231 |
if __name__ == "__main__":
|
|
|
|
| 214 |
],
|
| 215 |
outputs=output_image
|
| 216 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 217 |
|
| 218 |
# Launch configuration
|
| 219 |
if __name__ == "__main__":
|