External Publication
Visit Post

[Beginner Help] My space stuck on Starting with TypeError: argument of type 'bool' is not iterable

Hugging Face Forums [Unofficial] March 29, 2026
Source

You passed a wrong argument for api_name in

    submit_btn.click(
        fn=process_audio,
        inputs=[audio_in, mode_in],
        outputs=[status_out, files_out],
        api_name=False
    )

It should be passed a string value (see Gradio Docs).

(Separately, be aware that there’s an ongoing issue with Hugging Face spaces building updates, which is unrelated to your code.)

Discussion in the ATmosphere

Loading comments...