Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ app = FastAPI()
|
|
| 7 |
|
| 8 |
# Configuration de l'API d'inférence Hugging Face
|
| 9 |
BOT_USERNAME = "@DiscussionBot"
|
| 10 |
-
INFERENCE_API_URL = "https://api-inference.huggingface.co/models/gpt2"
|
| 11 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 12 |
|
| 13 |
# Vérification du jeton API
|
|
|
|
| 7 |
|
| 8 |
# Configuration de l'API d'inférence Hugging Face
|
| 9 |
BOT_USERNAME = "@DiscussionBot"
|
| 10 |
+
INFERENCE_API_URL = ""https://api-inference.huggingface.co/models/openai-community/gpt2"
|
| 11 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
| 12 |
|
| 13 |
# Vérification du jeton API
|