Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ if 'actu' not in st.session_state:
|
|
| 14 |
|
| 15 |
# --- FONCTIONS ---
|
| 16 |
def generer_actu_ia(joueur):
|
| 17 |
-
|
| 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."
|