Spaces:
Sleeping
Sleeping
modified app
Browse files13 unmodified lines14151617181920108 unmodified lines12913013113213 unmodified linesos.system("wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-x4v3.pth -P .")if not os.path.exists('RestoreFormer.ckpt'):os.system("wget https://github.com/wzhouxiff/RestoreFormerPlusPlus/releases/download/v1.0.0/RestoreFormer.ckpt -P .")if not os.path.exists('RestoreFormer++.pth'):os.system("wget https://github.com/wzhouxiff/RestoreFormerPlusPlus/releases/download/v1.0.0/RestoreFormer++.ckpt -P .")# torch.hub.download_url_to_file(108 unmodified lines# examples=[['AI-generate.jpg', 'v1.4', 2], ['lincoln.jpg', 'v1.4', 2], ['Blake_Lively.jpg', 'v1.4', 2],# ['10045.png', 'v1.4', 2]])demo.queue().launch(share=True)13 unmodified lines14151617181920108 unmodified lines12913013113213 unmodified linesos.system("wget https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-x4v3.pth -P .")if not os.path.exists('RestoreFormer.ckpt'):os.system("wget https://github.com/wzhouxiff/RestoreFormerPlusPlus/releases/download/v1.0.0/RestoreFormer.ckpt -P .")if not os.path.exists('RestoreFormer++.ckpt'):os.system("wget https://github.com/wzhouxiff/RestoreFormerPlusPlus/releases/download/v1.0.0/RestoreFormer++.ckpt -P .")# torch.hub.download_url_to_file(108 unmodified lines# examples=[['AI-generate.jpg', 'v1.4', 2], ['lincoln.jpg', 'v1.4', 2], ['Blake_Lively.jpg', 'v1.4', 2],# ['10045.png', 'v1.4', 2]])demo.queue().launch()
app.py+2-2