Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup error #747

Open
4 tasks done
lljshh opened this issue Jan 25, 2025 · 1 comment
Open
4 tasks done

Setup error #747

lljshh opened this issue Jan 25, 2025 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@lljshh
Copy link

lljshh commented Jan 25, 2025

Checks

  • This template is only for usage issues encountered.
  • I have thoroughly reviewed the project documentation but couldn't find information to solve my problem.
  • I have searched for existing issues, including closed ones, and couldn't find a solution.
  • I confirm that I am using English to submit this report in order to facilitate communication.

Environment Details

First, my PC use Chinese, so there are a little Chinese in the log

I use Windows 11, Python 3.10.16, using proxy

Steps to Reproduce

  1. init conda
  2. pip install torch==2.3.0+cu118 torchaudio==2.3.0+cu118 --extra-index-url https://download.pytorch.org/whl/cu118
  3. git clone https://github.com/SWivid/F5-TTS.git
  4. cd F5-TTS
  5. pip install -e .

✔️ Expected Behavior

F5-TTS run.

❌ Actual Behavior

(f5-tts) D:\AI\f5-ttss\F5-TTS>f5-tts_infer-gradio --port 10001
Building prefix dict from the default dictionary ...
Loading model from cache C:\Users\ML\AppData\Local\Temp\jieba.cache
Loading model cost 0.617 seconds.
Prefix dict has been built successfully.
Word segmentation module jieba initialized.

Download Vocos from huggingface charactr/vocos-mel-24khz

vocab :  D:\AI\f5-ttss\F5-TTS\src\f5_tts\infer\examples\vocab.txt
token :  custom
model :  C:\Users\ML\.cache\huggingface\hub\models--SWivid--F5-TTS\snapshots\4dcc16f297f2ff98a17b3726b16f5de5a5e45672\F5TTS_Base\model_1200000.safetensors

D:\Users\ML\anaconda3\envs\f5-tts\lib\site-packages\gradio\components\chatbot.py:282: UserWarning: You have not specified a value for the `type` parameter. Defaulting to the 'tuples' format for chatbot messages, but this is deprecated and will be removed in a future version of Gradio. Please set type='messages' instead, which uses openai-style dictionaries with 'role' and 'content' keys.
  warnings.warn(
Starting app...
信息: 用提供的模式无法找到文件。
* Running on local URL:  http://127.0.0.1:10001
Traceback (most recent call last):
  File "D:\Users\ML\anaconda3\envs\f5-tts\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "D:\Users\ML\anaconda3\envs\f5-tts\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "D:\Users\ML\anaconda3\envs\f5-tts\Scripts\f5-tts_infer-gradio.exe\__main__.py", line 7, in <module>
    sys.exit(main())
  File "D:\Users\ML\anaconda3\envs\f5-tts\lib\site-packages\click\core.py", line 1161, in __call__
    return self.main(*args, **kwargs)
  File "D:\Users\ML\anaconda3\envs\f5-tts\lib\site-packages\click\core.py", line 1082, in main
    rv = self.invoke(ctx)
  File "D:\Users\ML\anaconda3\envs\f5-tts\lib\site-packages\click\core.py", line 1443, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "D:\Users\ML\anaconda3\envs\f5-tts\lib\site-packages\click\core.py", line 788, in invoke
    return __callback(*args, **kwargs)
  File "D:\AI\f5-ttss\F5-TTS\src\f5_tts\infer\infer_gradio.py", line 881, in main
    app.queue(api_open=api).launch(server_name=host, server_port=port, share=share, show_api=api, root_path=root_path)
  File "D:\Users\ML\anaconda3\envs\f5-tts\lib\site-packages\gradio\blocks.py", line 2620, in launch
    raise ValueError(
ValueError: When localhost is not accessible, a shareable link must be created. Please set share=True or check your proxy settings to allow access to localhost.

@lljshh lljshh added the help wanted Extra attention is needed label Jan 25, 2025
@ZhikangNiu
Copy link
Collaborator

maybe you need to closs your proxy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants