Spaces:
Running
on
T4
Running
on
T4
Ahsen Khaliq
commited on
Commit
·
530fe31
1
Parent(s):
814f957
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ pystuck.run_server()
|
|
3 |
|
4 |
|
5 |
import os
|
|
|
6 |
os.system("wget https://github.com/Sxela/ArcaneGAN/releases/download/v0.4/ArcaneGANv0.4.jit")
|
7 |
os.system("wget https://github.com/Sxela/ArcaneGAN/releases/download/v0.3/ArcaneGANv0.3.jit")
|
8 |
os.system("wget https://github.com/Sxela/ArcaneGAN/releases/download/v0.2/ArcaneGANv0.2.jit")
|
@@ -149,5 +150,6 @@ gr.Interface(
|
|
149 |
article=article,
|
150 |
examples=[['bill.png','version 0.3'],['keanu.png','version 0.4'],['will.jpeg','version 0.4']],
|
151 |
allow_flagging="never",
|
152 |
-
allow_screenshot=False
|
153 |
-
|
|
|
|
3 |
|
4 |
|
5 |
import os
|
6 |
+
os.system("pip install gradio==2.5.3")
|
7 |
os.system("wget https://github.com/Sxela/ArcaneGAN/releases/download/v0.4/ArcaneGANv0.4.jit")
|
8 |
os.system("wget https://github.com/Sxela/ArcaneGAN/releases/download/v0.3/ArcaneGANv0.3.jit")
|
9 |
os.system("wget https://github.com/Sxela/ArcaneGAN/releases/download/v0.2/ArcaneGANv0.2.jit")
|
|
|
150 |
article=article,
|
151 |
examples=[['bill.png','version 0.3'],['keanu.png','version 0.4'],['will.jpeg','version 0.4']],
|
152 |
allow_flagging="never",
|
153 |
+
allow_screenshot=False,
|
154 |
+
enable_queue=True
|
155 |
+
).launch()
|