Spaces:
Runtime error
Runtime error
RamAnanth1
commited on
Commit
•
98d37ce
1
Parent(s):
e339b52
Update app.py
Browse files
app.py
CHANGED
@@ -9,9 +9,6 @@ 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='T2I-Adapter')
|
15 |
|
16 |
# base_url = 'https://huggingface.co/lllyasviel/ControlNet/resolve/main/annotator/ckpts/'
|
17 |
# names = [
|
|
|
9 |
|
10 |
import gradio as gr
|
11 |
|
|
|
|
|
|
|
12 |
|
13 |
# base_url = 'https://huggingface.co/lllyasviel/ControlNet/resolve/main/annotator/ckpts/'
|
14 |
# names = [
|