Ahsen Khaliq
commited on
Commit
·
2a3bbd3
1
Parent(s):
1c40542
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,5 @@
|
|
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,6 +55,5 @@ gr.Interface(
|
|
56 |
examples=[
|
57 |
['lincoln.jpg'],
|
58 |
['einstein.png']
|
59 |
-
]
|
60 |
-
enable_queue=True
|
61 |
-
).launch()
|
|
|
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 |
examples=[
|
56 |
['lincoln.jpg'],
|
57 |
['einstein.png']
|
58 |
+
]
|
59 |
+
).launch(enable_queue=True,cache_examples=True)
|
|