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