🚩 Report: app-kerrct-39 not working

Here: App Kerrct 39 - a Hugging Face Space by Gertie01

1 Like

Who should I ask?

@John6666

1 Like

Who should I ask?

If it’s not a site-side issue, we generally fix it ourselves…

When you don’t know how to fix it, you can ask on the forum or Discord—sometimes someone will answer, sometimes they won’t.


Root cause: your app.py sets three gr.Image(value=...) defaults to Imgur URLs. Gradio tries to download those at startup, hits HTTP 429, and aborts. See lines 120–151. (Hugging Face)

What to change (pick one):

  1. Bundle local images and point to files
  • Add images to the repo, e.g. assets/example{1,2,3}.png.
  • Update the defaults to file paths (works with type="filepath"). (gradio.app)
# app.py
# docs: https://www.gradio.app/docs/gradio/image
input_image1 = gr.Image(type="filepath", label="Image 1", height=200, width=200,
                        sources=["upload", "clipboard"], value="assets/example1.png")
input_image2 = gr.Image(type="filepath", label="Image 2", height=200, width=200,
                        sources=["upload", "clipboard"], value="assets/example2.png")
input_image3 = gr.Image(type="filepath", label="Image 3", height=200, width=200,
                        sources=["upload", "clipboard"], value="assets/example3.png")
# why: external URLs can 429 -> https://huggingface.co/docs/hub/en/rate-limits
  1. Remove defaults
  • Delete the three value= arguments so the UI starts empty and never downloads anything at launch. (Still accepts uploads.)
  1. Prefer examples instead of prefilled values
  • Keep inputs empty. Add clickable examples that load local files on demand: (gradio.app)
# docs: https://www.gradio.app/docs/gradio/examples
gr.Examples(
    examples=[["assets/example1.png","assets/example2.png","assets/example3.png","Create a magical forest..."]],
    inputs=[input_image1, input_image2, input_image3, prompt_textbox]
)

Why this fails, briefly:

  • Current code ships three external URLs. Gradio downloads them during init. The host responds 429 Too Many Requests, so startup crashes. (Hugging Face)

Evidence in your repo:

  • Imgur defaults at app.py lines 127, 139, 150. (Hugging Face)

Minimal diff:

- value="https://i.imgur.com/S9s4P2c.png"
+ value="assets/example1.png"
- value="https://i.imgur.com/gK1545n.png"
+ value="assets/example2.png"
- value="https://i.imgur.com/XqR7m0D.png"
+ value="assets/example3.png"

References:

  • Your Space code showing the three URL defaults. (Hugging Face)
  • gr.Image accepts file paths with type="filepath". Docs updated 2024–2025. (gradio.app)
  • Hub rate limits return 429. Official doc, updated in 2025. (Hugging Face)
  • Use gr.Examples to preload sample inputs without fetching at startup. (gradio.app)

These are MOCK implementations for ‘gemini-2’ and ‘gpt image-1’ image remixing.

1 Like