Skip to content

Commit

Permalink
Update source_python calls in video_scores.R
Browse files Browse the repository at this point in the history
  • Loading branch information
atomashevic committed Dec 7, 2023
1 parent 5d7f10b commit f240847
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/video_scores.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ video_scores <- function(video, classes, nframes=100,
setup_modules()
}
################################################################
source_python(system.file("python", "image.py", package = "transforEmotion"))
source_python(system.file("python", "image.py", package = "transforEmotion"))
reticulate::source_python(system.file("python", "image.py", package = "transforEmotion"))
reticulate::source_python(system.file("python", "image.py", package = "transforEmotion"))
if (!grepl("youtu", video)){
stop("You need to provide a YouTube video URL.")
}
Expand Down

0 comments on commit f240847

Please sign in to comment.