Commit
·
46cf28d
1
Parent(s):
7817187
Update app.py
Browse files
app.py
CHANGED
@@ -155,7 +155,7 @@ def one_shot_talking(image_in,audio_in):
|
|
155 |
|
156 |
#2. Improve image quality using GFPGAN on each frames
|
157 |
# os.system(f"rm -rf /content/extracted_frames/image_audio_frames")
|
158 |
-
|
159 |
os.system(f"python /content/GFPGAN/inference_gfpgan.py --upscale 2 -i /content/extracted_frames/image_audio_frames -o /content/video_results --bg_upsampler realesrgan")
|
160 |
|
161 |
#3. Merge all the frames to a one video using imageio
|
|
|
155 |
|
156 |
#2. Improve image quality using GFPGAN on each frames
|
157 |
# os.system(f"rm -rf /content/extracted_frames/image_audio_frames")
|
158 |
+
os.system(f"rm -rf /content/video_results/")
|
159 |
os.system(f"python /content/GFPGAN/inference_gfpgan.py --upscale 2 -i /content/extracted_frames/image_audio_frames -o /content/video_results --bg_upsampler realesrgan")
|
160 |
|
161 |
#3. Merge all the frames to a one video using imageio
|