Yw22 commited on
Commit
7b4d2f2
1 Parent(s): 7515227

update requirements

Browse files
app/down_load_brushedit.py DELETED
@@ -1,13 +0,0 @@
1
- import os
2
- from huggingface_hub import snapshot_download
3
-
4
- # download hf models
5
- BrushEdit_path = "models/"
6
- if not os.path.exists(BrushEdit_path):
7
- BrushEdit_path = snapshot_download(
8
- repo_id="TencentARC/BrushEdit",
9
- local_dir=BrushEdit_path,
10
- token=os.getenv("HF_TOKEN"),
11
- )
12
-
13
- print("Downloaded BrushEdit to ", BrushEdit_path)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/down_load_brushedit.sh DELETED
@@ -1,3 +0,0 @@
1
- export PYTHONPATH=.:$PYTHONPATH
2
-
3
- python app/down_load_brushedit.py
 
 
 
 
app/run_app.sh DELETED
@@ -1,5 +0,0 @@
1
- export PYTHONPATH=.:$PYTHONPATH
2
-
3
- export CUDA_VISIBLE_DEVICES=0
4
-
5
- python app/src/brushedit_app.py