pragnakalp
commited on
Commit
•
8b4626f
1
Parent(s):
1282bca
Update app.py
Browse files
app.py
CHANGED
@@ -138,7 +138,7 @@ def one_shot_talking(image_in,audio_in):
|
|
138 |
# Pre-processing of image
|
139 |
crop_img=crop_src_image(image_in)
|
140 |
|
141 |
-
os.system(f"rm -rf /content/results/restored_imgs/image_pre.png")
|
142 |
#Improve quality of input image
|
143 |
os.system(f"python /content/GFPGAN/inference_gfpgan.py --upscale 2 -i /content/image_pre.png -o /content/results --bg_upsampler realesrgan")
|
144 |
# time.sleep(60)
|
|
|
138 |
# Pre-processing of image
|
139 |
crop_img=crop_src_image(image_in)
|
140 |
|
141 |
+
# os.system(f"rm -rf /content/results/restored_imgs/image_pre.png")
|
142 |
#Improve quality of input image
|
143 |
os.system(f"python /content/GFPGAN/inference_gfpgan.py --upscale 2 -i /content/image_pre.png -o /content/results --bg_upsampler realesrgan")
|
144 |
# time.sleep(60)
|