Spaces:
Sleeping
Sleeping
Commit
·
8e7a10f
1
Parent(s):
c9c2e94
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,8 @@ from fastai.vision.utils import get_image_files
|
|
8 |
from Ambrosia import pre_process_image
|
9 |
from huggingface_hub import from_pretrained_fastai, push_to_hub_fastai
|
10 |
import gradio as gr
|
11 |
-
|
|
|
12 |
|
13 |
# this function only describes how much a singular value in al ist stands out.
|
14 |
# if all values in the lsit are high or low this is 1
|
|
|
8 |
from Ambrosia import pre_process_image
|
9 |
from huggingface_hub import from_pretrained_fastai, push_to_hub_fastai
|
10 |
import gradio as gr
|
11 |
+
# Set the token
|
12 |
+
os.environ["HUGGINGFACE_TOKEN"] = "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"
|
13 |
|
14 |
# this function only describes how much a singular value in al ist stands out.
|
15 |
# if all values in the lsit are high or low this is 1
|