PrismeFoot commited on
Commit
09bec4c
·
verified ·
1 Parent(s): d9a3c6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ if 'actu' not in st.session_state:
14
 
15
  # --- FONCTIONS ---
16
  def generer_actu_ia(joueur):
17
- # Note: L'URL de l'API Groq est url = "https://groq.com"
18
  URL = "https://groq.com"
19
  headers = {"Authorization": f"Bearer {GROQ_API_KEY}", "Content-Type": "application/json"}
20
  prompt = f"Écris une news de foot ultra-virale sur {joueur}. Maximum 2 phrases."
 
14
 
15
  # --- FONCTIONS ---
16
  def generer_actu_ia(joueur):
17
+ url = "https://groq.com"
18
  URL = "https://groq.com"
19
  headers = {"Authorization": f"Bearer {GROQ_API_KEY}", "Content-Type": "application/json"}
20
  prompt = f"Écris une news de foot ultra-virale sur {joueur}. Maximum 2 phrases."