xiaoyao9184 commited on
Commit
1a990e7
1 Parent(s): 2a3759a

Bump watermark-anything varsion for the MIT License model

Browse files
Files changed (4) hide show
  1. .gitignore +0 -2
  2. .vscode/launch.json +0 -16
  3. README.md +2 -0
  4. app.py +2 -2
.gitignore DELETED
@@ -1,2 +0,0 @@
1
- *.pyc
2
- watermark-anything
 
 
 
.vscode/launch.json DELETED
@@ -1,16 +0,0 @@
1
- {
2
- "version": "0.2.0",
3
- "configurations": [
4
- {
5
- "name": "debugpy: app.py",
6
- "type": "debugpy",
7
- "request": "launch",
8
- "program": "${workspaceFolder}/app.py",
9
- "console": "integratedTerminal",
10
- "env": {
11
- // "HF_ENDPOINT": "https://hf-mirror.com"
12
- },
13
- "justMyCode": false
14
- }
15
- ]
16
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md CHANGED
@@ -9,6 +9,8 @@ python_version: '3.10.14'
9
  app_file: app.py
10
  pinned: false
11
  license: apache-2.0
 
 
12
  ---
13
 
14
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
9
  app_file: app.py
10
  pinned: false
11
  license: apache-2.0
12
+ models:
13
+ - facebook/watermark-anything
14
  ---
15
 
16
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py CHANGED
@@ -5,9 +5,9 @@ import subprocess
5
  from huggingface_hub import hf_hub_download
6
 
7
  REPO_URL = "https://github.com/facebookresearch/watermark-anything.git"
8
- REPO_BRANCH = '88e3ae5d5866a7daaac167ea202a61a7d69ef590'
9
  LOCAL_PATH = "./watermark-anything"
10
- MODEL_ID = "xiaoyao9184/watermark-anything"
11
 
12
  def install_src():
13
  if not os.path.exists(LOCAL_PATH):
 
5
  from huggingface_hub import hf_hub_download
6
 
7
  REPO_URL = "https://github.com/facebookresearch/watermark-anything.git"
8
+ REPO_BRANCH = '45d56c2b61f2bc73caeafc90e14df33ad50b238c'
9
  LOCAL_PATH = "./watermark-anything"
10
+ MODEL_ID = "facebook/watermark-anything"
11
 
12
  def install_src():
13
  if not os.path.exists(LOCAL_PATH):