Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def download_models():
|
|
38 |
subprocess.run(["wget", "--no-check-certificate", "https://public.ukp.informatik.tu-darmstadt.de/reimers/sentence-transformers/v0.2/clip-ViT-B-32-multilingual-v1.zip"], check=True)
|
39 |
subprocess.run(["unzip", "-q", "clip-ViT-B-32-multilingual-v1.zip", "-d", model_dir], check=True)
|
40 |
|
41 |
-
token_ =
|
42 |
|
43 |
@st.cache_data(show_spinner=True)
|
44 |
def load_dataset():
|
|
|
38 |
subprocess.run(["wget", "--no-check-certificate", "https://public.ukp.informatik.tu-darmstadt.de/reimers/sentence-transformers/v0.2/clip-ViT-B-32-multilingual-v1.zip"], check=True)
|
39 |
subprocess.run(["unzip", "-q", "clip-ViT-B-32-multilingual-v1.zip", "-d", model_dir], check=True)
|
40 |
|
41 |
+
token_ = st.secrets["token"]
|
42 |
|
43 |
@st.cache_data(show_spinner=True)
|
44 |
def load_dataset():
|