Skip to content

Commit

Permalink
Fix success progress
Browse files Browse the repository at this point in the history
  • Loading branch information
NayamAmarshe committed Jun 1, 2024
1 parent e34bd02 commit 22774bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -607,8 +607,6 @@ void *save(void *args)
std::string parent_path = fs_path.parent_path().string();
#endif

// fprintf(stderr, "\n100.00%%\n");

if (!fs::exists(parent_path))
{
fprintf(stderr, "📂 Creating directory: %s\n", parent_path.c_str());
Expand Down Expand Up @@ -646,7 +644,8 @@ void *save(void *args)
}
if (success)
{
fprintf(stderr, "🙌 Upscayled Successfully!\n");
fprintf(stderr, "100.00%\n");
fprintf(stderr, "\n🙌 Upscayled Successfully!\n");

if (verbose)
{
Expand Down
2 changes: 0 additions & 2 deletions src/realesrgan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -553,8 +553,6 @@ int RealESRGAN::process(const ncnn::Mat &inimage, ncnn::Mat &outimage) const
fprintf(stderr, "%.2f%%\n", (float)(yi * xtiles + xi) / (ytiles * xtiles) * 100);
}

fprintf(stderr, "100.00%%\n");

// download
{
ncnn::Mat out;
Expand Down

0 comments on commit 22774bc

Please sign in to comment.