Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,10 @@ collection = client_chroma.get_or_create_collection(name=collection_name)
|
|
13 |
embedding_function = embedding_functions.DefaultEmbeddingFunction()
|
14 |
|
15 |
# Initialisiere das LLM
|
16 |
-
client_llm =
|
|
|
|
|
|
|
17 |
|
18 |
def process_pdf(file):
|
19 |
# Lese den PDF-Inhalt
|
|
|
13 |
embedding_function = embedding_functions.DefaultEmbeddingFunction()
|
14 |
|
15 |
# Initialisiere das LLM
|
16 |
+
client_llm = InferenceClient(
|
17 |
+
"mistralai/Mistral-7B-Instruct-v0.3"
|
18 |
+
)
|
19 |
+
#client_llm = Client("wasmdashai/meta-llama-Llama-3.2-3B-Instruct")
|
20 |
|
21 |
def process_pdf(file):
|
22 |
# Lese den PDF-Inhalt
|