Spaces:
Running
Running
hysts
commited on
Commit
•
ba17461
1
Parent(s):
ab7feca
Update
Browse files
app.py
CHANGED
@@ -12,7 +12,8 @@ import gradio as gr
|
|
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 |
-
|
|
|
16 |
|
17 |
from model import Model
|
18 |
|
|
|
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 |
+
with open('patch') as f:
|
16 |
+
subprocess.run('patch -p1'.split(), cwd='Text2Human', stdin=f)
|
17 |
|
18 |
from model import Model
|
19 |
|