Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,10 @@ import gradio as gr
|
|
2 |
from datasets import load_dataset
|
3 |
from sentence_transformers import SentenceTransformer
|
4 |
|
|
|
|
|
|
|
|
|
5 |
model = SentenceTransformer('clip-ViT-B-32')
|
6 |
|
7 |
# Candidate images.
|
|
|
2 |
from datasets import load_dataset
|
3 |
from sentence_transformers import SentenceTransformer
|
4 |
|
5 |
+
import os
|
6 |
+
import requests
|
7 |
+
os.environ['NO_PROXY'] = 'huggingface.co'
|
8 |
+
|
9 |
model = SentenceTransformer('clip-ViT-B-32')
|
10 |
|
11 |
# Candidate images.
|