Docfile commited on
Commit
2e5886d
·
verified ·
1 Parent(s): d30b7a0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -41
app.py CHANGED
@@ -12,47 +12,6 @@ st.markdown("yup")
12
  # Configuration de l'API Gemini
13
  api_key = os.environ["GEMINI_API_KEY"]
14
 
15
- methodologie = f"""
16
- Traite ce sujet de philosophie "{phi_prompt}" selon le plan suivant.commence directement ta réponse par introduction :
17
- :
18
-
19
- # INTRODUCTION: ( l'introduction se fait en un paragraphe)
20
- - Approche par constat
21
- - Posez la citation
22
- - Reformulation de la citation
23
- - Nuancez la thèse (antithèse)
24
- - De cette opposition naît le problème
25
- - En quoi
26
- - Idée de la citation
27
-
28
- # DÉVELOPPEMENT:
29
- ## Première partie (Thèse)
30
- - Introduction partielle (thèse + arguments1 + arguments2)
31
- - Argument 1:
32
- * Explications
33
- * Illustration (citation + reformulation)
34
- - Argument 2:
35
- * Explications
36
- * Illustration (exemple + explication)
37
- - Transition:
38
- * Bilan (thèse + arguments1 + arguments2)
39
- * Annonce de l'idée critique
40
-
41
- ## Deuxième partie (Antithèse)
42
- - Introduction partielle (antithèse + arguments3 + arguments4)
43
- - Argument 3:
44
- * Explications
45
- * Illustration (citation + reformulation)
46
- - Argument 4:
47
- * Explications
48
- * Illustration (exemple + reformulation)
49
-
50
- # CONCLUSION:
51
- - Bilan global de l'analyse (rappel du problème + thèse + antithèse)
52
- - Prise de position (réponse à la question critique de l'introduction)
53
-
54
- Je veux un travail bien détaillé et complet avec un français raffiné et soutenu.
55
- """
56
 
57
 
58
  genai.configure(api_key=api_key)
 
12
  # Configuration de l'API Gemini
13
  api_key = os.environ["GEMINI_API_KEY"]
14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
 
16
 
17
  genai.configure(api_key=api_key)