Update app.py
Browse files
app.py
CHANGED
|
@@ -6,6 +6,7 @@ from pptx import Presentation
|
|
| 6 |
from pptx.util import Inches, Pt
|
| 7 |
from pptx.enum.text import PP_ALIGN
|
| 8 |
from huggingface_hub import login
|
|
|
|
| 9 |
|
| 10 |
# Préprompt amélioré pour une meilleure structuration
|
| 11 |
PREPROMPT = """Vous êtes un assistant IA chargé de générer une présentation PowerPoint. Générez une présentation structurée en suivant ce format EXACT:
|
|
|
|
| 6 |
from pptx.util import Inches, Pt
|
| 7 |
from pptx.enum.text import PP_ALIGN
|
| 8 |
from huggingface_hub import login
|
| 9 |
+
import torch
|
| 10 |
|
| 11 |
# Préprompt amélioré pour une meilleure structuration
|
| 12 |
PREPROMPT = """Vous êtes un assistant IA chargé de générer une présentation PowerPoint. Générez une présentation structurée en suivant ce format EXACT:
|