user commited on
Commit
b6be81f
1 Parent(s): 1a1019e
Files changed (3) hide show
  1. README.md +1 -1
  2. launch.py +1 -1
  3. run.sh +5 -0
README.md CHANGED
@@ -5,7 +5,7 @@ colorFrom: pink
5
  colorTo: blue
6
  sdk: gradio
7
  sdk_version: 3.19.1
8
- app_file: launch.py
9
  pinned: false
10
  ---
11
 
 
5
  colorTo: blue
6
  sdk: gradio
7
  sdk_version: 3.19.1
8
+ app_file: webui.sh
9
  pinned: false
10
  ---
11
 
launch.py CHANGED
@@ -221,7 +221,7 @@ def prepare_environment():
221
 
222
  torch_command = os.environ.get('TORCH_COMMAND', "pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117")
223
  requirements_file = os.environ.get('REQS_FILE', "requirements_versions.txt")
224
- commandline_args = os.environ.get('COMMANDLINE_ARGS', "--skip-torch-cuda-test --use-cpu all --precision full --no-half --share")
225
 
226
  xformers_package = os.environ.get('XFORMERS_PACKAGE', 'xformers==0.0.16rc425')
227
  gfpgan_package = os.environ.get('GFPGAN_PACKAGE', "git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379")
 
221
 
222
  torch_command = os.environ.get('TORCH_COMMAND', "pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117")
223
  requirements_file = os.environ.get('REQS_FILE', "requirements_versions.txt")
224
+ commandline_args = os.environ.get('COMMANDLINE_ARGS', "--skip-torch-cuda-test --use-cpu all --precision full --no-half")
225
 
226
  xformers_package = os.environ.get('XFORMERS_PACKAGE', 'xformers==0.0.16rc425')
227
  gfpgan_package = os.environ.get('GFPGAN_PACKAGE', "git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379")
run.sh ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ #!usr/bin/env bash
2
+
3
+ [ -d extensions/deforum ] || git clone https://github.com/deforum-art/deforum-for-automatic1111-webui extensions/deforum
4
+
5
+ . webui.sh