mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-08 19:04:52 +00:00
fix(benchmark): clear up progress_gauge fn signature
Otherwise there is a compiler error.
This commit is contained in:
parent
c4cd9c198d
commit
1ec3b6a62a
@ -434,7 +434,7 @@ impl Data {
|
||||
}
|
||||
|
||||
/// Progress bar
|
||||
fn progress_gauge(title: &str, label: String, progress: f64, color: Color) -> Gauge {
|
||||
fn progress_gauge(title: &str, label: String, progress: f64, color: Color) -> Gauge<'_> {
|
||||
Gauge::default()
|
||||
.block(Block::default().title(title).borders(Borders::ALL))
|
||||
.gauge_style(Style::default().fg(color))
|
||||
|
Loading…
Reference in New Issue
Block a user