Spaces:
Sleeping
Sleeping
gizemsarsinlar
commited on
Commit
•
9272309
1
Parent(s):
e9b6176
Update app.py
Browse files
app.py
CHANGED
@@ -24,6 +24,13 @@ import os
|
|
24 |
|
25 |
api_key = "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"
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
# NVIDIAEmbeddings.get_available_models()
|
28 |
embedder = NVIDIAEmbeddings(model="nvidia/embed-qa-4", api_key=api_key, truncate="NONE")
|
29 |
# ChatNVIDIA.get_available_models()
|
|
|
24 |
|
25 |
api_key = "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"
|
26 |
|
27 |
+
# Mevcut modelleri kontrol edin
|
28 |
+
available_embeddings = NVIDIAEmbeddings.get_available_models(api_key=api_key)
|
29 |
+
print("Available NVIDIA Embedding Models:", available_embeddings)
|
30 |
+
|
31 |
+
available_llms = ChatNVIDIA.get_available_models(api_key=api_key)
|
32 |
+
print("Available NVIDIA Language Models:", available_llms)
|
33 |
+
|
34 |
# NVIDIAEmbeddings.get_available_models()
|
35 |
embedder = NVIDIAEmbeddings(model="nvidia/embed-qa-4", api_key=api_key, truncate="NONE")
|
36 |
# ChatNVIDIA.get_available_models()
|