MoneyPrinterTurbo icon indicating copy to clipboard operation
MoneyPrinterTurbo copied to clipboard

Can someone help me with this error?

Open Yoshizito1 opened this issue 10 months ago • 3 comments

Can someone help me? FileNotFoundError: [Errno 2] No such file or directory: 'D:\MoneyPrinterTurbo/config.toml' Traceback: File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 542, in run_script exec(code, module.dict) File "D:\MoneyPrinterTurbo\webui\Main.py", line 11, in from app.services import task as tm, llm File "D:\MoneyPrinterTurbo\app\services\task.py", line 8, in from app.config import config File "D:\MoneyPrinterTurbo\app\config_init.py", line 6, in from app.config import config File "D:\MoneyPrinterTurbo\app\config\config.py", line 10, in with open(config_file, mode="rb") as fp:

Yoshizito1 avatar Mar 27 '24 19:03 Yoshizito1

@Yoshizito1 You can copy the config.example.toml file and rename it to config.toml, then fill in the correct configuration.

smaltum avatar Mar 28 '24 01:03 smaltum

But i did It :( config.toml and i tried configtoml as well. May i must chance some in this code spite of api keys?

Yoshizito1 avatar Mar 28 '24 01:03 Yoshizito1

@smaltum help 🤗

Yoshizito1 avatar Mar 28 '24 01:03 Yoshizito1

@Yoshizito1 You should at least fill in those parameters:llm_provider(if you use openai then fill the apikey)、whisper model location

smaltum avatar Mar 28 '24 02:03 smaltum

Please carefully check if your filenames have been correctly modified. The error is clear, it indicates that the configuration file was not found.

harry0703 avatar Mar 28 '24 13:03 harry0703