Spaces:
Runtime error
Runtime error
ninja
Browse files- app.py +0 -3
- requirements.txt +1 -0
app.py
CHANGED
@@ -1,6 +1,3 @@
|
|
1 |
-
import subprocess
|
2 |
-
subprocess.run('wget https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip; unzip ninja-linux.zip -d /usr/local/bin/; update-alternatives --install /usr/bin/ninja ninja /usr/local/bin/ninja 1 --force', shell=True)
|
3 |
-
|
4 |
from argparse import Namespace
|
5 |
|
6 |
import gradio as gr
|
|
|
|
|
|
|
|
|
1 |
from argparse import Namespace
|
2 |
|
3 |
import gradio as gr
|
requirements.txt
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
torch==1.11.0
|
2 |
torchvision==0.12.0
|
3 |
gradio==2.9.4
|
|
|
|
1 |
torch==1.11.0
|
2 |
torchvision==0.12.0
|
3 |
gradio==2.9.4
|
4 |
+
ninja==1.10.2.3
|