Spaces:
Runtime error
Runtime error
Commit ·
a7bf4ad
1
Parent(s): d503469
:construction: wip
Browse files
app.py
CHANGED
|
@@ -18,6 +18,7 @@ if 'diffvg_installed' not in st.session_state:
|
|
| 18 |
st.session_state['diffvg_installed'] = True
|
| 19 |
pwd = Path.cwd().absolute().as_posix()
|
| 20 |
run_cmd('git submodule update --init --recursive')
|
|
|
|
| 21 |
run_cmd(f'python diffvg/setup.py install --install-lib {pwd}')
|
| 22 |
|
| 23 |
|
|
|
|
| 18 |
st.session_state['diffvg_installed'] = True
|
| 19 |
pwd = Path.cwd().absolute().as_posix()
|
| 20 |
run_cmd('git submodule update --init --recursive')
|
| 21 |
+
sys.path.append('diffvg')
|
| 22 |
run_cmd(f'python diffvg/setup.py install --install-lib {pwd}')
|
| 23 |
|
| 24 |
|