Spaces:
Running
Running
Update end point
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import os
|
|
| 6 |
|
| 7 |
# Récupérer le token d'API depuis une variable d'environnement
|
| 8 |
API_TOKEN = os.getenv("API_TOKEN")
|
| 9 |
-
API_URL = "https://aura.authot.app/punctuates"
|
| 10 |
|
| 11 |
def submit_punctuation_task(text, lang="fr"):
|
| 12 |
print("Création d'un fichier temporaire pour le texte...")
|
|
|
|
| 6 |
|
| 7 |
# Récupérer le token d'API depuis une variable d'environnement
|
| 8 |
API_TOKEN = os.getenv("API_TOKEN")
|
| 9 |
+
API_URL = "https://aura.authot.app/api/v1/punctuates"
|
| 10 |
|
| 11 |
def submit_punctuation_task(text, lang="fr"):
|
| 12 |
print("Création d'un fichier temporaire pour le texte...")
|