Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,9 @@ Voici le texte à transformer en présentation :"""
|
|
25 |
# Chargement du modèle IA depuis Hugging Face
|
26 |
#from llama_cpp import LLMCppModel
|
27 |
#model_path = "MisterAI/Bartowski_MistralAI_Mistral-Small-24B-Base-2501-GGUF"
|
28 |
-
model_path = "https://huggingface.co/MisterAI/Bartowski_MistralAI_Mistral-Small-24B-Base-2501-GGUF/tree/main/mistralai_Mistral-Small-24B-Base-2501-Q8_0.gguf"
|
|
|
|
|
29 |
#text_to_presentation = LLMCppModel(model_path)
|
30 |
#text_to_presentation = model_path
|
31 |
text_to_presentation = Llama(model_path, verbose=True)
|
|
|
25 |
# Chargement du modèle IA depuis Hugging Face
|
26 |
#from llama_cpp import LLMCppModel
|
27 |
#model_path = "MisterAI/Bartowski_MistralAI_Mistral-Small-24B-Base-2501-GGUF"
|
28 |
+
#model_path = "https://huggingface.co/MisterAI/Bartowski_MistralAI_Mistral-Small-24B-Base-2501-GGUF/tree/main/mistralai_Mistral-Small-24B-Base-2501-Q8_0.gguf"
|
29 |
+
model_path = "https://huggingface.co/MisterAI/Bartowski_MistralAI_Mistral-Small-24B-Base-2501-GGUF/resolve/main/mistralai_Mistral-Small-24B-Base-2501-Q8_0.gguf"
|
30 |
+
|
31 |
#text_to_presentation = LLMCppModel(model_path)
|
32 |
#text_to_presentation = model_path
|
33 |
text_to_presentation = Llama(model_path, verbose=True)
|