🐛 [Bug]: TypeError: argument of type 'bool' is not iterable
What happened?
What type of browser are you seeing the problem on?
Chrome
What type of Operating System are you seeing the problem on?
Linux
Python Version
Python 3.12
Application Version
v0.3.0
Expected Behavior
Its just not running
Error Message
Code to produce this issue.
Screenshots/Assets/Relevant links
No response
I solved it changing the version of gradio to the latest, 5.29.1 and deleting gradio_client from the requeriments.txt I hope this works for you man :)
My requeriments.txt look like this:
python-dotenv gradio==5.29.1 openai==1.37.0 httpx==0.27.2 tiktoken tinydb tinymongo proglog yt-dlp>=2025.1.12 torch torchaudio
whisper timestamped
whisper-timestamped protobuf==3.20.3 pillow==10.4.0 moviepy==2.1.2 progress questionary edge-tts
Now I am facing new problems with the tool xD. Good luck
been having the same issue thanks for the solve, what other issues are you having?
The metadata step. Step 12 when you try to create a short it freeze. Seems that the actual Shortgpt it is not compatible with docker or I don't know what I am doing wrong :(
Had to do what databamario said as well as:
RUN apt-get update && apt-get install -y \
ffmpeg \
gcc \
build-essential
Instead of
RUN apt-get update && apt-get install -y ffmpeg in the Dockerfile
but overall seems project is not being maintained :/ know any alternatives or forks?
edit "ShortGPT-0.3.0\gui\gui_gradio.py" shortGptUI.queue().launch(server_port=31415, height=1000, allowed_paths=["public/","videos/","fonts/"], share=True, server_name="0.0.0.0") and dont forget to edit requirements.txt gradio to upgrade new version
same issue
I solved the problem by changing the version of gradio and gradio_client in requirements.txt:
gradio_client==1.10.2
gradio==5.33.0