Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ if not os.path.exists(persist_directory):
|
|
| 25 |
else:
|
| 26 |
vectordb = Chroma(persist_directory=persist_directory, embedding_function=embedding_function)
|
| 27 |
|
| 28 |
-
client = InferenceClient("
|
| 29 |
|
| 30 |
ranker = Reranker("answerdotai/answerai-colbert-small-v1", model_type='colbert')
|
| 31 |
|
|
|
|
| 25 |
else:
|
| 26 |
vectordb = Chroma(persist_directory=persist_directory, embedding_function=embedding_function)
|
| 27 |
|
| 28 |
+
client = InferenceClient("mrm8488/spanish-t5-small-sqac-for-qa", token=os.getenv("HUGGINGFACEHUB_API_TOKEN"))
|
| 29 |
|
| 30 |
ranker = Reranker("answerdotai/answerai-colbert-small-v1", model_type='colbert')
|
| 31 |
|