{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreigrrmg3gzionrbzgo2hgt4pevz5e5ryildyvg24tdwkf2rw6f2rcy",
"uri": "at://did:plc:pgryn3ephfd2xgft23qokfzt/app.bsky.feed.post/3mirqzxlh6kq2"
},
"path": "/t/report-not-working/171762?page=2#post_26",
"publishedAt": "2026-04-05T20:28:55.000Z",
"site": "https://discuss.huggingface.co",
"tags": [
"Anycoder 7d5a189e - a Hugging Face Space by Gertie2013",
"@John6666"
],
"textContent": "## Exit code: 1. Reason: Traceback (most recent call last): File “/app/app.py”, line 102, in with gr.Blocks(theme=gr.themes.Soft(primary_hue=“indigo”)) as demo: ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/local/lib/python3.13/site-packages/gradio/blocks.py”, line 1071, in __init_ _ super().__init_ _(render=False, **kwargs) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: BlockContext.__init_ _() got an unexpected keyword argument ‘theme’\n\n**Container logs:**\n\n\n ===== Application Startup at 2026-04-05 20:22:09 =====\n\n Traceback (most recent call last):\n File \"/app/app.py\", line 102, in <module>\n with gr.Blocks(theme=gr.themes.Soft(primary_hue=\"indigo\")) as demo:\n ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.13/site-packages/gradio/blocks.py\", line 1071, in __init__\n super().__init__(render=False, **kwargs)\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^\n TypeError: BlockContext.__init__() got an unexpected keyword argument 'theme'\n Traceback (most recent call last):\n File \"/app/app.py\", line 102, in <module>\n with gr.Blocks(theme=gr.themes.Soft(primary_hue=\"indigo\")) as demo:\n ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.13/site-packages/gradio/blocks.py\", line 1071, in __init__\n super().__init__(render=False, **kwargs)\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^\n TypeError: BlockContext.__init__() got an unexpected keyword argument 'theme'\n\n\nAnycoder 7d5a189e - a Hugging Face Space by Gertie2013\n\n@John6666",
"title": "Report: Not working"
}