mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
Disabled ngrok for good.
This commit is contained in:
parent
26d3519ff2
commit
a03cc02a73
@ -16,7 +16,7 @@ path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
async-stream = "0.3.5"
|
||||
axum = { version = "0.7.4", features = ["json"] }
|
||||
axum = { version = "0.7", features = ["json"] }
|
||||
axum-tracing-opentelemetry = "0.16"
|
||||
text-generation-client = { path = "client" }
|
||||
clap = { version = "4.4.5", features = ["derive", "env"] }
|
||||
|
@ -1392,8 +1392,8 @@ pub async fn run(
|
||||
addr: SocketAddr,
|
||||
allow_origin: Option<AllowOrigin>,
|
||||
ngrok: bool,
|
||||
ngrok_authtoken: Option<String>,
|
||||
ngrok_edge: Option<String>,
|
||||
_ngrok_authtoken: Option<String>,
|
||||
_ngrok_edge: Option<String>,
|
||||
tokenizer_config: HubTokenizerConfig,
|
||||
processor_config: HubProcessorConfig,
|
||||
messages_api_enabled: bool,
|
||||
@ -1666,6 +1666,7 @@ pub async fn run(
|
||||
if ngrok {
|
||||
#[cfg(feature = "ngrok")]
|
||||
{
|
||||
panic!("ngrok feature is not functional with axum=0.7 and hyper=1, waiting on https://github.com/ngrok/ngrok-rust/pull/137/files to re-enable.");
|
||||
// use ngrok::config::TunnelBuilder;
|
||||
|
||||
// let _ = addr;
|
||||
|
Loading…
Reference in New Issue
Block a user