Spaces:
No application file
No application file
Commit
·
781598d
1
Parent(s):
cce3967
Upload copy_of_face_restoration_with_codeformer.py
Browse files
copy_of_face_restoration_with_codeformer.py
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# -*- coding: utf-8 -*-
|
2 |
+
"""Copy of Face Restoration with CodeFormer
|
3 |
+
|
4 |
+
Automatically generated by Colaboratory.
|
5 |
+
|
6 |
+
Original file is located at
|
7 |
+
https://colab.research.google.com/drive/1kswhiW8ShbZ3k_wOB-THaK7BFH9oR6YF
|
8 |
+
"""
|
9 |
+
|
10 |
+
!nvidia-smi
|
11 |
+
|
12 |
+
!git clone https://huggingface.co/spaces/sczhou/CodeFormer
|
13 |
+
|
14 |
+
# Commented out IPython magic to ensure Python compatibility.
|
15 |
+
# %cd CodeFormer
|
16 |
+
|
17 |
+
!pip install -r requirements.txt -q
|
18 |
+
|
19 |
+
!pip install -q gradio
|
20 |
+
|
21 |
+
!python app.py
|
22 |
+
|