Commit ·
4050875
1
Parent(s): 52e6dd2
update
Browse files
app.py
CHANGED
|
@@ -6,8 +6,7 @@ import torch
|
|
| 6 |
print(torch.__version__)
|
| 7 |
print(torch.version.cuda)
|
| 8 |
|
| 9 |
-
os.system('export DISPLAY=:0.0')
|
| 10 |
-
os.system('Xvfb :0 -screen 0 640x480x24 &')
|
| 11 |
|
| 12 |
# download model
|
| 13 |
print("Downloading model weights")
|
|
|
|
| 6 |
print(torch.__version__)
|
| 7 |
print(torch.version.cuda)
|
| 8 |
|
| 9 |
+
os.system('export DISPLAY=:0.0; Xvfb :0 -screen 0 640x480x24 &')
|
|
|
|
| 10 |
|
| 11 |
# download model
|
| 12 |
print("Downloading model weights")
|