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

couldn't start server with source code #128

Open
charliedream1 opened this issue Oct 21, 2024 · 2 comments
Open

couldn't start server with source code #128

charliedream1 opened this issue Oct 21, 2024 · 2 comments

Comments

@charliedream1
Copy link

I try to start server from source code. I run create_app() faster-whisper-server\src\faster_whisper_server\main.py. However, it stops with following message, and no any error displayed.

2024-10-21 21:22:31,814:INFO:httpx:_send_single_request:HTTP Request: GET https://api.gradio.app/gradio-messaging/en "HTTP/1.1 200 OK"

what would be the problem?

@fedirz
Copy link
Owner

fedirz commented Oct 21, 2024

You aren't using Docker, right? Have you set any of the configuration environment variables? What are the preceding logs? Does it the application exit or hang?

@charliedream1
Copy link
Author

thanks for your reply. I found the solution. Due to I got problem of pulling the docker, so I tried to run directly with source code. I found unvicorn can't start by running with main.py directly. Then I tried CLI startup with command as below:

uvicorn --factory --host 0.0.0.0 faster_whisper_server.main:create_app

It works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants