Spaces:
Running
Running
hysts
commited on
Commit
·
ab7feca
1
Parent(s):
cd8f155
Update
Browse files
app.py
CHANGED
|
@@ -10,9 +10,9 @@ import subprocess
|
|
| 10 |
import gradio as gr
|
| 11 |
|
| 12 |
if os.getenv('SYSTEM') == 'spaces':
|
| 13 |
-
subprocess.
|
| 14 |
-
subprocess.
|
| 15 |
-
subprocess.
|
| 16 |
|
| 17 |
from model import Model
|
| 18 |
|
|
|
|
| 10 |
import gradio as gr
|
| 11 |
|
| 12 |
if os.getenv('SYSTEM') == 'spaces':
|
| 13 |
+
subprocess.run('pip uninstall -y mmcv-full'.split())
|
| 14 |
+
subprocess.run('pip install mmcv-full==1.5.2'.split())
|
| 15 |
+
subprocess.run('git apply ../patch'.split(), cwd='Text2Human')
|
| 16 |
|
| 17 |
from model import Model
|
| 18 |
|