Ahsen Khaliq
commited on
Commit
·
a77dce7
1
Parent(s):
cea5ae1
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import os
|
2 |
os.system("pip install gfpgan")
|
|
|
3 |
|
4 |
os.system("pip freeze")
|
5 |
os.system("wget https://github.com/TencentARC/GFPGAN/releases/download/v0.2.0/GFPGANCleanv1-NoCE-C2.pth -P .")
|
@@ -55,5 +56,6 @@ gr.Interface(
|
|
55 |
examples=[
|
56 |
['lincoln.jpg'],
|
57 |
['einstein.png']
|
58 |
-
]
|
59 |
-
|
|
|
|
1 |
import os
|
2 |
os.system("pip install gfpgan")
|
3 |
+
os.system("pip install gradio==2.5.3")
|
4 |
|
5 |
os.system("pip freeze")
|
6 |
os.system("wget https://github.com/TencentARC/GFPGAN/releases/download/v0.2.0/GFPGANCleanv1-NoCE-C2.pth -P .")
|
|
|
56 |
examples=[
|
57 |
['lincoln.jpg'],
|
58 |
['einstein.png']
|
59 |
+
],
|
60 |
+
enable_queue=True
|
61 |
+
).launch()
|