ShortGPT icon indicating copy to clipboard operation
ShortGPT copied to clipboard

🐛 [Bug]: TypeError: argument of type 'bool' is not iterable

Open novarex52 opened this issue 7 months ago • 7 comments

What happened?

Image

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

novarex52 avatar May 24 '25 15:05 novarex52

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

databamario avatar May 26 '25 16:05 databamario

been having the same issue thanks for the solve, what other issues are you having?

hurtstp avatar May 27 '25 23:05 hurtstp

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 :(

databamario avatar May 28 '25 15:05 databamario

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?

FridIsar avatar May 28 '25 20:05 FridIsar

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

obvirm avatar Jun 02 '25 10:06 obvirm

same issue

Ahmad0298 avatar Jun 06 '25 10:06 Ahmad0298

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

pyCrafts avatar Jun 09 '25 19:06 pyCrafts