Skip to content

Commit

Permalink
don't delete models when reinstalling backend
Browse files Browse the repository at this point in the history
  • Loading branch information
the-database committed Aug 1, 2024
1 parent 9b41566 commit d14059f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions VideoJaNai/ViewModels/MainWindowViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -850,11 +850,6 @@ await Task.Run(async () =>

public async Task ReinstallBackend()
{
if (Directory.Exists(_pythonService.ModelsDirectory))
{
Directory.Delete(_pythonService.ModelsDirectory, true);
}

if (Directory.Exists(_pythonService.FfmpegDirectory))
{
Directory.Delete(_pythonService.FfmpegDirectory, true);
Expand Down

0 comments on commit d14059f

Please sign in to comment.