Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import gradio as gr
|
|
| 3 |
from transformers import pipeline
|
| 4 |
from pptx import Presentation
|
| 5 |
from pptx.util import Inches
|
| 6 |
-
|
| 7 |
|
| 8 |
# Préprompt pour donner des instructions au modèle
|
| 9 |
PREPROMPT = """Vous êtes un assistant IA chargé de générer une présentation PowerPoint à partir d'un texte fourni par un utilisateur. Voici les instructions à suivre :
|
|
|
|
| 3 |
from transformers import pipeline
|
| 4 |
from pptx import Presentation
|
| 5 |
from pptx.util import Inches
|
| 6 |
+
|
| 7 |
|
| 8 |
# Préprompt pour donner des instructions au modèle
|
| 9 |
PREPROMPT = """Vous êtes un assistant IA chargé de générer une présentation PowerPoint à partir d'un texte fourni par un utilisateur. Voici les instructions à suivre :
|