Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -1
src/streamlit_app.py
CHANGED
|
@@ -6,11 +6,12 @@ import faiss
|
|
| 6 |
import tempfile
|
| 7 |
import speech_recognition as sr
|
| 8 |
from sentence_transformers import SentenceTransformer
|
|
|
|
| 9 |
|
| 10 |
# ==============================
|
| 11 |
# CONFIG
|
| 12 |
# ==============================
|
| 13 |
-
HF_TOKEN =
|
| 14 |
|
| 15 |
client = InferenceClient(
|
| 16 |
model="facebook/nllb-200-distilled-600M",
|
|
|
|
| 6 |
import tempfile
|
| 7 |
import speech_recognition as sr
|
| 8 |
from sentence_transformers import SentenceTransformer
|
| 9 |
+
import os
|
| 10 |
|
| 11 |
# ==============================
|
| 12 |
# CONFIG
|
| 13 |
# ==============================
|
| 14 |
+
HF_TOKEN = os.environ.get["HF_TOKEN"]
|
| 15 |
|
| 16 |
client = InferenceClient(
|
| 17 |
model="facebook/nllb-200-distilled-600M",
|