Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,6 @@ import config as CFG
|
|
11 |
from main import build_loaders
|
12 |
from CLIP import CLIPModel
|
13 |
import os
|
14 |
-
os.environ['HTTPS_PROXY']="http://185.46.212.90:80/"
|
15 |
-
os.environ['HTTP_PROXY']="http://185.46.212.90:80/"
|
16 |
with gr.Blocks(css="style.css") as demo:
|
17 |
def get_image_embeddings(valid_df, model_path):
|
18 |
tokenizer = DistilBertTokenizer.from_pretrained(CFG.text_tokenizer)
|
|
|
11 |
from main import build_loaders
|
12 |
from CLIP import CLIPModel
|
13 |
import os
|
|
|
|
|
14 |
with gr.Blocks(css="style.css") as demo:
|
15 |
def get_image_embeddings(valid_df, model_path):
|
16 |
tokenizer = DistilBertTokenizer.from_pretrained(CFG.text_tokenizer)
|