Spaces:
Sleeping
Sleeping
Florian.Moret
commited on
Commit
·
c13b6ab
1
Parent(s):
9b3458a
remove imports
Browse files
app.py
CHANGED
@@ -9,8 +9,8 @@ import faiss
|
|
9 |
import pickle
|
10 |
from mistralai import Mistral
|
11 |
# from sklearn.manifold import TSNE
|
12 |
-
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
|
13 |
-
from dotenv import load_dotenv
|
14 |
|
15 |
MISTRAL_API_KEY = os.getenv("api_mistral")
|
16 |
model = "mistral-large-latest" #"ministral-8b-latest" # ancien model : 'mistral-large-latest'
|
@@ -307,7 +307,7 @@ if st.button("Envoyer la question..."):
|
|
307 |
# </div>
|
308 |
# """, unsafe_allow_html=True)
|
309 |
|
310 |
-
print("prefix = ",response0["prefix"])
|
311 |
response = response0["reponse_propre"]
|
312 |
bot_response = response
|
313 |
|
|
|
9 |
import pickle
|
10 |
from mistralai import Mistral
|
11 |
# from sklearn.manifold import TSNE
|
12 |
+
# from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
|
13 |
+
# from dotenv import load_dotenv
|
14 |
|
15 |
MISTRAL_API_KEY = os.getenv("api_mistral")
|
16 |
model = "mistral-large-latest" #"ministral-8b-latest" # ancien model : 'mistral-large-latest'
|
|
|
307 |
# </div>
|
308 |
# """, unsafe_allow_html=True)
|
309 |
|
310 |
+
# print("prefix = ",response0["prefix"])
|
311 |
response = response0["reponse_propre"]
|
312 |
bot_response = response
|
313 |
|