Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import numpy as np
|
|
12 |
import os
|
13 |
from datetime import datetime
|
14 |
from huggingface_hub import hf_hub_download
|
15 |
-
hf_token = os.environ.get("
|
16 |
def creatMask(Image, threshold=5):
|
17 |
##This program try to creat the mask for the filed-of-view
|
18 |
##Input original image (RGB or green channel), threshold (user set parameter, default 10)
|
|
|
12 |
import os
|
13 |
from datetime import datetime
|
14 |
from huggingface_hub import hf_hub_download
|
15 |
+
hf_token = os.environ.get("HF_token")
|
16 |
def creatMask(Image, threshold=5):
|
17 |
##This program try to creat the mask for the filed-of-view
|
18 |
##Input original image (RGB or green channel), threshold (user set parameter, default 10)
|