Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,8 +6,8 @@ from conch.open_clip_custom import create_model_from_pretrained, get_tokenizer,
|
|
6 |
|
7 |
import torch
|
8 |
from huggingface_hub import login
|
9 |
-
hf=os.getenv('
|
10 |
-
login(
|
11 |
# Load the pretrained model and transforms
|
12 |
#model = create_model("hf-hub:MahmoodLab/UNI", pretrained=True, init_values=1e-5, dynamic_img_size=True)
|
13 |
# Load the model
|
|
|
6 |
|
7 |
import torch
|
8 |
from huggingface_hub import login
|
9 |
+
hf=os.getenv('hfk')
|
10 |
+
login(hf)
|
11 |
# Load the pretrained model and transforms
|
12 |
#model = create_model("hf-hub:MahmoodLab/UNI", pretrained=True, init_values=1e-5, dynamic_img_size=True)
|
13 |
# Load the model
|