Skip to content

Commit

Permalink
GOGO
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleswing authored and fedirz committed Jan 24, 2025
1 parent 3bc239e commit 4cb6f0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/speaches/gradio_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def http_client_from_gradio_req(request: gr.Request, config: Config) -> httpx.As


def openai_client_from_gradio_req(request: gr.Request, config: Config) -> AsyncOpenAI:
base_url = base_url_from_gradio_req(request)
base_url = base_url_from_gradio_req(request, config)
return AsyncOpenAI(base_url=f"{base_url}/v1", api_key=config.api_key if config.api_key else "cant-be-empty")


Expand Down

0 comments on commit 4cb6f0e

Please sign in to comment.