Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,8 @@ Voici le texte à transformer en présentation :"""
|
|
| 24 |
# Chargement du modèle IA depuis Hugging Face
|
| 25 |
#from llama_cpp import LLMCppModel
|
| 26 |
model_path = "MisterAI/Bartowski_MistralAI_Mistral-Small-24B-Base-2501-GGUF"
|
| 27 |
-
text_to_presentation = LLMCppModel(model_path)
|
|
|
|
| 28 |
|
| 29 |
# Chargement du tokenizer depuis Hugging Face
|
| 30 |
#from transformers import AutoTokenizer
|
|
|
|
| 24 |
# Chargement du modèle IA depuis Hugging Face
|
| 25 |
#from llama_cpp import LLMCppModel
|
| 26 |
model_path = "MisterAI/Bartowski_MistralAI_Mistral-Small-24B-Base-2501-GGUF"
|
| 27 |
+
#text_to_presentation = LLMCppModel(model_path)
|
| 28 |
+
text_to_presentation = model_path
|
| 29 |
|
| 30 |
# Chargement du tokenizer depuis Hugging Face
|
| 31 |
#from transformers import AutoTokenizer
|