A little help

#1
by Gertie01 - opened

Exit code: 1. Reason: Traceback (most recent call last):
File "/home/user/app/app.py", line 4, in
from transformers_js_py import AutoModelForAudioGeneration, AutoTokenizer
ModuleNotFoundError: No module named 'transformers_js_py'
Container logs:

===== Application Startup at 2025-08-18 18:55:12 =====

Traceback (most recent call last):
File "/home/user/app/app.py", line 4, in
from transformers_js_py import AutoModelForAudioGeneration, AutoTokenizer
ModuleNotFoundError: No module named 'transformers_js_py'
Traceback (most recent call last):
File "/home/user/app/app.py", line 4, in
from transformers_js_py import AutoModelForAudioGeneration, AutoTokenizer
ModuleNotFoundError: No module named 'transformers_js_py'

If you want to use libraries, you need to write requirements.txt like this. However, in that case, it seems that an error still occurs. I think you will have to fix it yourself by coding...๐Ÿ˜…

numpy
transformers_js_py
panel
js
pyodide-py

https://huggingface.co/docs/hub/spaces-dependencies

Sign up or log in to comment