Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,9 @@ from datetime import date
|
|
| 5 |
import io
|
| 6 |
import os
|
| 7 |
from PIL import Image, ImageDraw, ImageFont
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
# Constants
|
| 10 |
SCORES_DATASET = "agents-course/unit4-students-scores"
|
|
|
|
| 5 |
import io
|
| 6 |
import os
|
| 7 |
from PIL import Image, ImageDraw, ImageFont
|
| 8 |
+
from huggingface_hub import login
|
| 9 |
+
|
| 10 |
+
login(token=os.environ["HUGGINGFACE_TOKEN"])
|
| 11 |
|
| 12 |
# Constants
|
| 13 |
SCORES_DATASET = "agents-course/unit4-students-scores"
|