Bug Fixes: Increased the number of available releases and fixed the Trocr bug. (#58)

This commit is contained in:
Jamjamjon
2025-01-22 14:55:12 +08:00
committed by GitHub
parent 475a680703
commit b3072e8da3
4 changed files with 96 additions and 93 deletions

View File

@@ -17,9 +17,9 @@ fn main() -> anyhow::Result<()> {
// 3. Fetch tags and files
let hub = Hub::default().with_owner("jamjamjon").with_repo("usls");
for tag in hub.tags().iter() {
for (i, tag) in hub.tags().iter().enumerate() {
let files = hub.files(tag);
println!("{} => {:?}", tag, files); // Should be empty
println!("{} :: {} => {:?}", i, tag, files); // Should be empty
}
Ok(())