Skip to content

Commit

Permalink
proyecto-v2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lriveraBanco committed Apr 26, 2024
1 parent 0c77229 commit c9dbf8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roop/Frontend/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@

transformBtn.addEventListener('click', () => {
// Ejecutar el comando de transformación
const command = `%cd "/content/roop" && python run.py -s "${characterName}.png" -t "${characterVideo}" -o "resultado.mp4" --keep-frames --keep-fps --temp-frame-quality 1 --output-video-quality 1 --execution-provider cuda --frame-processor face_swapper face_enhancer`;
const command = `%cd "/content/roop" && python run.py -s "/content/roop/images/${characterName}.png" -t "/content/roop/videos/${characterVideo}" -o "resultado.mp4" --keep-frames --keep-fps --temp-frame-quality 1 --output-video-quality 1 --execution-provider cuda --frame-processor face_swapper face_enhancer`;
fetch('/transform', {
method: 'POST',
body: JSON.stringify({ command: command }),
Expand Down

0 comments on commit c9dbf8a

Please sign in to comment.