Runtime error code

When trying to use HuggingFace.co I suddenly am getting an error code

runtime error

Exit code: 1. Reason: Traceback (most recent call last): File “/home/user/app/app.py”, line 38, in from f5_tts.infer.utils_infer import ( ImportError: cannot import name ‘tempfile_kwargs’ from ‘f5_tts.infer.utils_infer’ (/usr/local/lib/python3.10/site-packages/f5_tts/infer/utils_infer.py)

Container logs:

===== Application Startup at 2025-05-22 15:11:35 =====

Traceback (most recent call last):
  File "/home/user/app/app.py", line 38, in <module>
    from f5_tts.infer.utils_infer import (
ImportError: cannot import name 'tempfile_kwargs' from 'f5_tts.infer.utils_infer' (/usr/local/lib/python3.10/site-packages/f5_tts/infer/utils_infer.py)
Traceback (most recent call last):
  File "/home/user/app/app.py", line 38, in <module>
    from f5_tts.infer.utils_infer import (
ImportError: cannot import name 'tempfile_kwargs' from 'f5_tts.infer.utils_infer' (/usr/local/lib/python3.10/site-packages/f5_tts/infer/utils_infer.py)

Have used HuggingFace.co for several months but today it doesn’t like. Is there a simple solution?

1 Like

I don’t know which software you’re trying to use…

This is coming up when HuggingFace is between 70% to 80% complete

1 Like