AshanGimhana
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,13 @@ import os
|
|
2 |
|
3 |
os.system("pip install gradio==3.50")
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
from argparse import Namespace
|
7 |
import pprint
|
|
|
2 |
|
3 |
os.system("pip install gradio==3.50")
|
4 |
|
5 |
+
os.system("wget https://github.com/ninja-build/ninja/releases/download/v1.10.2/ninja-linux.zip")
|
6 |
+
os.system("sudo unzip ninja-linux.zip -d /usr/local/bin/")
|
7 |
+
os.system("sudo update-alternatives --install /usr/bin/ninja ninja /usr/local/bin/ninja 1 --force")
|
8 |
+
|
9 |
+
# Clean up
|
10 |
+
os.system("rm ninja-linux.zip")
|
11 |
+
|
12 |
|
13 |
from argparse import Namespace
|
14 |
import pprint
|