Spaces:
Runtime error
Runtime error
add test inputs
Browse files- .gitattributes +3 -0
- colab_flask.py +1 -2
- inputs/kim_7s_raw.mp4 +3 -0
- inputs/kimk_audio.mp3 +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
37 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
38 |
+
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
colab_flask.py
CHANGED
@@ -55,8 +55,7 @@ def wav2lip():
|
|
55 |
output_mp4 = os.path.join(job_path, output_filename)
|
56 |
call_gfpgan(wav2lip_mp4, audio_path, output_mp4)
|
57 |
|
58 |
-
|
59 |
-
return jsonify({'url': f'{ngrok_url}/job/{job_id}/{output_filename}'})
|
60 |
|
61 |
except Exception as e:
|
62 |
return jsonify({'error': str(e)}), 500
|
|
|
55 |
output_mp4 = os.path.join(job_path, output_filename)
|
56 |
call_gfpgan(wav2lip_mp4, audio_path, output_mp4)
|
57 |
|
58 |
+
return jsonify({'url': f'/job/{job_id}/{output_filename}'})
|
|
|
59 |
|
60 |
except Exception as e:
|
61 |
return jsonify({'error': str(e)}), 500
|
inputs/kim_7s_raw.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6db41ed4770bc10309dccf68eb15698f5b46d4eeacbb872a7691c196e497dcce
|
3 |
+
size 3854044
|
inputs/kimk_audio.mp3
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6ae420c17a88ff63ddad21164cbe544357d283f716f0e25dd170193c18ad0d41
|
3 |
+
size 327405
|