Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import shlex
|
|
8 |
import subprocess
|
9 |
|
10 |
import gradio as gr
|
11 |
-
|
12 |
if os.getenv('SYSTEM') == 'spaces':
|
13 |
with open('patch') as f:
|
14 |
subprocess.run(shlex.split('patch -p1'), stdin=f, cwd='ControlNet')
|
|
|
8 |
import subprocess
|
9 |
|
10 |
import gradio as gr
|
11 |
+
|
12 |
if os.getenv('SYSTEM') == 'spaces':
|
13 |
with open('patch') as f:
|
14 |
subprocess.run(shlex.split('patch -p1'), stdin=f, cwd='ControlNet')
|