diff --git a/README.md b/README.md index 090640a..395b873 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A zero-dependency, high-performance Go proxy server that introspects any Gradio chat space (such as Hugging Face Spaces or custom deployments) and exposes a standards-compliant OpenAI `/v1/chat/completions` and `/v1/models` HTTP API. -Default demo space: `https://lucasmarchettidelima-digital-twin.hf.space` +Default demo space: `https://tencent-hy3.hf.space` ## Features @@ -60,26 +60,26 @@ make test ### Quick start -Run with the default space (`https://lucasmarchettidelima-digital-twin.hf.space`): +Run with the default space (`https://tencent-hy3.hf.space`): ```bash ./bin/gr2gw -port 8080 ``` Target any other Gradio space: ```bash -./bin/gr2gw -space https://ericsqin-hy3.hf.space -port 8080 +./bin/gr2gw -space https://lucasmarchettidelima-digital-twin.hf.space -port 8080 ``` With SOCKS5 proxy: ```bash -./bin/gr2gw -space https://lucasmarchettidelima-digital-twin.hf.space -socks socks5://127.0.0.1:1080 +./bin/gr2gw -space https://tencent-hy3.hf.space -socks socks5://127.0.0.1:1080 ``` ### CLI flags | Flag | Default | Description | |------|---------|-------------| -| `-space`, `-url` | `https://lucasmarchettidelima-digital-twin.hf.space` | Target Gradio space URL | +| `-space`, `-url` | `https://tencent-hy3.hf.space` | Target Gradio space URL | | `-port` | `8080` | Port to listen on | | `-host` | `0.0.0.0` | Host interface to bind to | | `-socks`, `-proxy`, `-socks5` | `""` | SOCKS5 proxy URL (`socks5://user:pass@host:port`) | diff --git a/gr2gw.go b/gr2gw.go index 32448e2..8266089 100644 --- a/gr2gw.go +++ b/gr2gw.go @@ -25,7 +25,7 @@ import ( ) var ( - DefaultSpaceURL = "https://lucasmarchettidelima-digital-twin.hf.space" + DefaultSpaceURL = "https://tencent-hy3.hf.space" DefaultUserAgent = "Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0" ConfiguredUserAgent string )